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:
@@ -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] {
|
||||
|
||||
Reference in New Issue
Block a user