fix: reserve scrollbar gutter to prevent horizontal layout shift#1744
Merged
Conversation
Closes #1743. Adds `html { scrollbar-gutter: stable; }` as a CSP-nonced inline style in the framework skeleton. Centered chrome no longer jiggles by the scrollbar's width when navigating between short and long pages on platforms with classic scrollbars (Windows, Linux, macOS with "Always show scrollbars"). On overlay-scrollbar systems it's a no-op. Inlining in the skeleton (rather than `config.css`) means existing scaffolded projects pick up the fix on a vibetuner upgrade with no CSS rebuild needed. Rendered before `bundle.css` so a project's bundle can still override. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
davidpoblador
pushed a commit
that referenced
this pull request
May 6, 2026
🤖 I have created a release *beep* *boop* --- ## [10.8.4](v10.8.3...v10.8.4) (2026-05-06) ### Bug Fixes * reserve scrollbar gutter to prevent horizontal layout shift ([#1744](#1744)) ([6878bf6](6878bf6)) ### Miscellaneous Chores * **deps:** bump cryptography from 47.0.0 to 48.0.0 ([#1751](#1751)) ([6768455](6768455)) * **deps:** bump cryptography from 47.0.0 to 48.0.0 in /vibetuner-py ([#1747](#1747)) ([d5525d3](d5525d3)) * **deps:** bump resend from 2.29.0 to 2.30.0 ([#1750](#1750)) ([dfcd20b](dfcd20b)) * **deps:** bump resend from 2.29.0 to 2.30.0 in /vibetuner-py ([#1749](#1749)) ([a724ba1](a724ba1)) * **deps:** bump rumdl from 0.1.87 to 0.1.88 ([#1752](#1752)) ([aa9d738](aa9d738)) * **deps:** bump rumdl from 0.1.87 to 0.1.88 in /vibetuner-py ([#1748](#1748)) ([ff2a8cc](ff2a8cc)) * **deps:** drop lint-po git pin in favor of PyPI 0.1.5 ([#1745](#1745)) ([add3c9b](add3c9b)) * **deps:** update mongo docker tag to v8.3 ([#1753](#1753)) ([1cb20d0](1cb20d0)) * update deps 2026-05-06 ([fb303df](fb303df)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
html { scrollbar-gutter: stable; }as a CSP-nonced inline style inbase/skeleton.html.jinjaconfig.cssso existing scaffolded projects pick up the fix on a vibetuner upgrade with no CSS rebuild — rendered beforebundle.cssso a project bundle can still overrideCloses #1743.
Test plan
TestScrollbarGuttercovers presence, CSP nonce, and pre-bundle.csscascade orderuv run python -m pytest tests/unit/— 797 passedjust lint-jinjaclean🤖 Generated with Claude Code