mirror of
https://github.com/TanStack/devtools.git
synced 2026-11-16 10:49:48 +00:00
fix(devtools): keep the floating trigger in place on window resize (#529)
* fix(devtools): keep the floating trigger in place on window resize Store the floating trigger spot as a percent of the free space, not as pixels. On every resize the trigger is placed again from that percent, so it stays in its corner and cannot move off-screen. Drag and throw still work in pixels. * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
507c3f9e1d
commit
dc61e1ea21
4 changed files with 86 additions and 36 deletions
Loading…
Add table
Add a link
Reference in a new issue