Skip to content

fix: app header popover dropdowns missing border-radius#3700

Draft
twjeffery wants to merge 1 commit intodevfrom
claude/fix-header-dropdown-radius-xK02L
Draft

fix: app header popover dropdowns missing border-radius#3700
twjeffery wants to merge 1 commit intodevfrom
claude/fix-header-dropdown-radius-xK02L

Conversation

@twjeffery
Copy link
Copy Markdown
Collaborator

Summary

Fixes #3659

  • AppHeaderMenu (V2 nav dropdown) passed borderradius="8" and AppHeader (tablet menu popover) passed borderradius="4" to the Popover component. These are unitless CSS values — border-radius: 8 is invalid CSS (non-zero values require a unit), so the browser silently discarded the declaration, resulting in no visible border-radius.
  • Replaced both with var(--goa-border-radius-xl) (0.75rem / 12px), matching the Figma design spec.
  • The fix is in the two consumer components, not the Popover itself — the Popover component correctly applies whatever value it receives and defaults to var(--goa-border-radius-m) when no override is passed. Other popover consumers (Dropdown, DatePicker, MenuButton) inherit the default and are unaffected.

Files changed

File Change
libs/web-components/src/components/app-header-menu/AppHeaderMenu.svelte borderradius="8"var(--goa-border-radius-xl) for V2 nav
libs/web-components/src/components/app-header/AppHeader.svelte borderradius="4"var(--goa-border-radius-xl) for tablet menu

Test plan

  • Unit tests pass (vitest --run --project=*-unit — 1271 passed)
  • Visual check: run npm run serve:prs:react, open V2 app header with dropdown menu, confirm rounded corners on popover
  • Visual check: resize to tablet, confirm "Menu" popover also has rounded corners

https://claude.ai/code/session_01WQuFT7xSApArMp8Y6WgssR

The AppHeaderMenu and AppHeader popover dropdowns had no visible
border-radius because they passed unitless values ("8", "4") to the
Popover borderradius prop. CSS border-radius requires units for non-zero
values, so these were silently discarded by the browser.

Replace with var(--goa-border-radius-xl) (0.75rem / 12px) design token
per Figma spec.

https://claude.ai/code/session_01WQuFT7xSApArMp8Y6WgssR
@twjeffery twjeffery closed this Mar 27, 2026
@twjeffery twjeffery reopened this Mar 27, 2026
@Spark450 Spark450 added the P3 Priority 3 (nice to have): Valuable, but safe to release after launch. label Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Priority 3 (nice to have): Valuable, but safe to release after launch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App header menu: dropdown popover has no border radius

3 participants