fix: stop layout wobble when the window is resized
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

- drop the global transition:all on .scrollY/.library-items (it animated
  width/height during every resize)
- library grid reacts to width changes only, coalesced in rAF, and measures
  offsetTop after the new columns are applied
- header transitions no longer animate layout properties
- disable transitions for 200ms while the OS window is being resized
This commit is contained in:
1xDed committed 2026-11-27 13:39:26 +03:00
1 parent fa29331c1c
commit 08f0ca0df1
4 files changed
+53 -29

No files matched your search

@@ -10,7 +10,7 @@
width: calc(100vw - 4em) !important;
z-index: 10;
padding: 0.25em !important;
transition: all 0.2s ease-in-out;
transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
html.is-macos & {
// The window has an overlay titlebar: keep controls clear of the traffic lights