bugfix: reader-nav is fully fixed; no settle-on-scroll (0.21.3)

This commit is contained in:
MechaCat02
2026-05-17 20:57:05 +02:00
parent 64ccc0ba84
commit 89b8785a40
6 changed files with 73 additions and 33 deletions

View File

@@ -61,10 +61,12 @@
--icon-lg: 22px;
/* App-frame heights (fixed-position bars at the top and bottom of
the viewport). Used by the layout + reader to reserve content
space and animate fullscreen mode. Recomputed once if the
header padding/font-size ever changes — keep in sync. */
the viewport). These are first-paint fallbacks — the real
values are written by ResizeObservers on the actual elements
in +layout.svelte and the reader, so they reflect rendered
size and survive font / zoom / wrap changes. */
--app-header-h: 60px;
--reader-nav-h: 56px;
--reader-bar-h: 56px;
--z-dropdown: 10;