ui: reserve the scrollbar gutter so the top bar stops shifting between pages

Pages tall enough to scroll showed a ~15px scrollbar; short pages didn't — so the
centered top bar jumped left/right as you navigated. scrollbar-gutter: stable on html
(SPA app.css + the server-rendered share pages) keeps the layout width constant. No-op
on overlay-scrollbar platforms (mobile), which never shifted.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
jay
2026-06-30 04:52:59 -04:00
parent 3740e09d02
commit 86d9897113
3 changed files with 6 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB