Skip to content

fix(ui): the top bar's border no longer makes the page scroll by a pixel - #191

Merged
7schmiede merged 1 commit into
mainfrom
fix/topbar-height
Oct 21, 2026
Merged

7schmiede merged 1 commit into
mainfrom
fix/topbar-height

Conversation

@7schmiede

Copy link
Copy Markdown
Member

The top bar was --topbar-h (56px) plus its 1px border-bottom tall. The sticky sidebar is 100vh - --topbar-h, so the page was one pixel taller than the window and showed a vertical scrollbar even when neither the sidebar nor the content needed the room.

The header now carries height: var(--topbar-h) (border-box, border included) and .topbar-inner fills it.

  • vitest: 49 passed; vue-tsc: clean
  • Layout not covered by tests; check: dashboard wider than 1000px, little content, no vertical scrollbar.

🤖 Generated with Claude Code

The header was --topbar-h plus its 1px border tall, while the sticky
sidebar is 100vh - --topbar-h. The page came out one pixel taller than
the window and scrolled. The header now has the height, border included.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@7schmiede
7schmiede merged commit 779b852 into main Oct 21, 2026
@7schmiede
7schmiede deleted the fix/topbar-height branch October 21, 2026 16:45
@7schmiede 7schmiede mentioned this pull request Oct 21, 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.

1 participant