Skip to content

Fix spurious scrollbar on accounts page#254

Closed
zyrakq wants to merge 1 commit into
trailbaseio:mainfrom
zyrakq:hotfix/accounts-page-scrollbar
Closed

Fix spurious scrollbar on accounts page#254
zyrakq wants to merge 1 commit into
trailbaseio:mainfrom
zyrakq:hotfix/accounts-page-scrollbar

Conversation

@zyrakq

@zyrakq zyrakq commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Removed h-full from the AccountsPage root div to prevent sub-pixel height overflow from producing a spurious scrollbar Added overflow-y-auto to the TopNav main element so tall content scrolls inside the panel instead of the document body

AccountsPage produced a scrollbar even when content was shorter than the viewport due to h-dvh vs 100% sub-pixel rounding in the browser

Removed h-full from the AccountsPage root div to prevent sub-pixel
height overflow from producing a spurious scrollbar
Added overflow-y-auto to the TopNav main element so tall content
scrolls inside the panel instead of the document body

AccountsPage produced a scrollbar even when content was shorter than
the viewport due to h-dvh vs 100% sub-pixel rounding in the browser
@ignatz

ignatz commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Much appreciated 🙏 . Cherry-picked this change verbatim into the dev branch: 7b26aaf

@ignatz ignatz closed this Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants