Toolbar menus: pressed button while open, no sideways scroll #141

Merged
CrowderSoup merged 1 commit from claude/view-bar-polish into main 2026-11-30 23:05:22 +00:00
Owner

Follow-up to #140.

  • Filter and Display look pressed (teal tint and border) while their menu is open, and set aria-expanded, including when Filter opens from the F key or reopens after a redraw.
  • The Display menu no longer scrolls sideways. Two causes: negative side margins on its bottom actions, and the hidden card-property checkboxes keeping oat's text-field width. The menus also set overflow-x: hidden.

A new browser test checks both: the button's pressed state and aria-expanded, and that each menu's content fits its width. Full suite: 944 passed locally.

🤖 Generated with Claude Code

Follow-up to #140. - Filter and Display look pressed (teal tint and border) while their menu is open, and set `aria-expanded`, including when Filter opens from the `F` key or reopens after a redraw. - The Display menu no longer scrolls sideways. Two causes: negative side margins on its bottom actions, and the hidden card-property checkboxes keeping oat's text-field width. The menus also set `overflow-x: hidden`. A new browser test checks both: the button's pressed state and `aria-expanded`, and that each menu's content fits its width. Full suite: 944 passed locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Toolbar menus: pressed button while open, no sideways scroll
All checks were successful
tests / pytest (push) Successful in 2m8s
b11ad4d096
Filter and Display look pressed while their menu is open, and say so with
aria-expanded. The Display menu no longer scrolls sideways: its bottom
actions had negative side margins, and the hidden card-property
checkboxes kept oat's text-field width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.