Skip to content

fix(menu): no top border on the phone's open menu - #844

Merged
joszz merged 1 commit into
mainfrom
fix/mobile-menu-border
Dec 1, 2026
Merged

joszz merged 1 commit into
mainfrom
fix/mobile-menu-border

Conversation

@joszz

@joszz joszz commented Dec 1, 2026

Copy link
Copy Markdown
Owner

The open menu on a phone had a grey 1px line along the top of the screen: the sidebar's top border, which it has beside the page on a desktop. In the drawer only the right edge meets the page, so the drawer drops the top border and gets back the pixel of padding the sidebar leaves for it.

Measured at 390 px in the demo, light and dark: borders before 1px 1px 0 0, after 0 1px 0 0; the logo stays centred level with the top bar's menu button (28 px) and the drawer still fills the screen's height. The bottom and left never had a border. The phone menu screenshot is retaken.

pnpm check passes.

🤖 Generated with Claude Code

The sidebar has a border on its top and right beside the page. In the
phone's drawer the top one ran as a grey line along the top of the
screen; only the right edge meets the page there. The drawer drops it
and gets back the pixel of padding the sidebar leaves for it, so the
logo stays level with the top bar's menu button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@joszz
joszz enabled auto-merge December 1, 2026 18:08
@joszz
joszz merged commit 4a383cd into main Dec 1, 2026
28 checks passed
@joszz
joszz deleted the fix/mobile-menu-border branch December 1, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant