Scrollbar
You might say
Whenever a modal opens or I switch between short and tall pages, the scrollbar makes the whole layout jump sideways—and it looks too thick.
The track and thumb control that shows reading position and lets users drag when content exceeds a container.·In a bounded sidebar or table, a scrollbar signals that more content exists below or to the side. On desktop systems with classic scrollbars, appearing or disappearing scrollbars shift layout width unless you reserve space with
scrollbar-gutter: stable. Styling a scrollbar should keep scrollability discoverable rather than hiding overflow blindly.Know first
scrollbar-gutterscrollbar-width
You can say this to an AI Agent
Ready to paste into Cursor, Claude Code, or CodexStructured AI Agent prompt
Refine the scrollbar settings for the page and sidebar: add `scrollbar-gutter: stable` so switching between short and tall pages or opening modals does not shift layout horizontally, and use `scrollbar-width: thin` with light/dark theme colors on the sidebar without hiding scrollbars where users need a cue. Verify short-to-tall transitions, both color modes, and mobile width afterward.
Want your Agent to translate plain-language UI ideas automatically?Install free VibeHub Skill →

Further reading