From e0bd2db4b5e63cd9b28296f218656320e1163b48 Mon Sep 17 00:00:00 2001 From: Pi Agent Date: Wed, 2 Sep 2026 08:58:43 +0000 Subject: [PATCH] fix: reserve scrollbar gutter to avoid layout shift between tabs --- web/src/app.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/src/app.css b/web/src/app.css index 8b8b692..23665ab 100644 --- a/web/src/app.css +++ b/web/src/app.css @@ -3,6 +3,12 @@ themes: dark --default; } +/* Reserve space for the vertical scrollbar even when the page doesn't scroll, + so switching to a taller tab (e.g. Services) doesn't shift the layout. */ +html { + scrollbar-gutter: stable; +} + /* Markdown reader: tables scroll sideways instead of overflowing the card. */ .prose table { display: block;