From 616b9fa5addf5ca5dca113dd2101907e617cc87c Mon Sep 17 00:00:00 2001 From: Petri Saarinen Date: Wed, 25 Nov 2026 11:00:36 +0200 Subject: [PATCH] Always show the vertical scrollbar so the menu does not shift Co-Authored-By: Claude Sonnet 5.5 --- resources/css/app.css | 6 ++++++ 1 file changed, 6 insertions(+) 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] {