Skip to content

ui: fit menu dropdowns to their contents#92

Merged
benvinegar merged 1 commit intomainfrom
ui/menu-width-polish
Mar 23, 2026
Merged

ui: fit menu dropdowns to their contents#92
benvinegar merged 1 commit intomainfrom
ui/menu-width-polish

Conversation

@benvinegar
Copy link
Member

Summary

  • make dropdown menus a bit wider by default
  • size menus to their longest entries with some extra breathing room
  • clamp and reposition wide menus so they stay inside the terminal

Testing

  • bun run typecheck
  • bun test test/ui-components.test.tsx

@benvinegar benvinegar merged commit 0d30d39 into main Mar 23, 2026
3 checks passed
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