Skip to content

Make menu rows concentric with their menu - #424

Merged
broisnees merged 1 commit into
nightlyfrom
fix/menu-radii
Nov 24, 2026
Merged

broisnees merged 1 commit into
nightlyfrom
fix/menu-radii

Conversation

@broisnees

Copy link
Copy Markdown
Collaborator

A highlighted menu row had tighter corners than the menu around it, most visible on Disconnect in the status bar's connection menu (a 10px panel around 4px rows). Menus mixed 8px and 10px panels, all with 4px rows in 4px of padding.

  • app.css adds --radius-menu (--radius + 0.25rem, 10px by default) and --radius-menu-item (that minus the p-1 padding). Both follow --radius and the zoom.
  • Dropdown, context and select menus (content, sub-content, every item kind, sub-triggers) and SearchableMenu use rounded-menu and rounded-menu-item, as do the status bar's hand-built rows inside those menus.

Checked in the app on Linux: the connection menu's Disconnect row and the sidebar's right-click menu now sit evenly inside their panels. npm test, svelte-check and design lint pass.

Not merged yet: I'm holding releases until I say so, and the nightly workflow also runs on a schedule.

Menus mixed 8px (rounded-lg) and 10px panels with 4px (rounded-sm) rows
inside a 4px padding, so the highlight's corners did not follow the
panel's. Two tokens in app.css set both: --radius-menu for the panel and
--radius-menu-item, the panel's radius less the p-1 padding, both off
--radius and rem so they hold at any theme radius and zoom. Dropdown,
context, select and searchable menus and the status bar's hand-built
menu rows use them.
@broisnees broisnees added the release:skip Merge into nightly without a version bump (docs, CI, chores) label Nov 24, 2026
@broisnees
broisnees merged commit 91d7270 into nightly Nov 24, 2026
1 check passed
@broisnees
broisnees deleted the fix/menu-radii branch November 24, 2026 15:20
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release:skip Merge into nightly without a version bump (docs, CI, chores)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant