Always show the vertical scrollbar so the menu does not shift

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-25 11:00:36 +02:00
co-authored by Claude Sonnet 5.5
parent 912b4ae1b5
commit 616b9fa5ad
+6
View File
@@ -37,6 +37,12 @@
/* The sticky header's height (set by the layout), so focus and anchors land below it. */
html {
scroll-padding-top: var(--app-header-offset, 0px);
/*
* Always show the vertical scrollbar (disabled on short pages), so the menu
* and content don't shift between short and long pages. scrollbar-gutter
* would leave an empty strip beside the full-width header instead.
*/
overflow-y: scroll;
}
[x-cloak] {