diff --git a/resources/css/app.css b/resources/css/app.css index 47726c7..e207ffa 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -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] {