Add flex-wrap to buttons in All Directions story#7647
Add flex-wrap to buttons in All Directions story#7647llastflowers wants to merge 1 commit intomainfrom
Conversation
|
There was a problem hiding this comment.
Pull request overview
This PR improves the accessibility and usability of the TooltipV2 Storybook feature stories at small viewport sizes (e.g. 320×256) by allowing the button rows to wrap instead of requiring horizontal scrolling.
Changes:
- Added
flex-wrap: wrapto.AllDirectionsRowand.ActionMenuRowCSS classes so buttons reflow to multiple rows on narrow viewports.
Addresses https://github.com/github/accessibility-audits/issues/14982
Changelog
New
Added flex-wrap to buttons in All Directions Tooltip story to eliminate the need for horizontal scrolling on very small viewports (320x256)
Before:

After:


Rollout strategy
Testing & Reviewing
Merge checklist