Add flex-wrap to buttons in All Directions story#7647
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.
liuliu-dev
left a comment
There was a problem hiding this comment.
the issue has a “Note” calling out the same scrolling on other stories, should we fix them too? 👀
liuliu-dev
left a comment
There was a problem hiding this comment.
Looks great, thanks for fixing! ❤️
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