Uh oh!
There was an error while loading. Please reload this page.
Make Dialog footer scrollable on very short viewports - #5629
Conversation
🦋 Changeset detectedLatest commit: 84c7ac5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
size-limit report 📦
|
Uh oh!
There was an error while loading. Please reload this page.
TylerJDev
left a comment
There was a problem hiding this comment.
Left a few more comments, curious on what you think! Looks almost good to go 🚀
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lesliecdubs
commented
Mar 14, 2025
Ping @hectahertz, would be awesome to get this one over the line before you fully switch focus to the next epic 🙇🏻♀️ |
c0bee5e to
e62c9a9Comparee62c9a9 to
9e64451CompareThis reverts commit b7346b2.
Part of the work to improve reflow of the component. This helps to make all the footer buttons accessible on small screens and gives some extra breathing room to the body.
Changelog
Changed
Dialog footer becomes scrollable on very short viewports.
Before
Screen.Recording.2025-01-30.at.20.46.28.mov
After
Screen.Recording.2025-01-30.at.20.46.08.mov
Rollout strategy
Testing & Reviewing
The CSS changes seem a bit esoteric, but are due to
overflow: scrollnot being compatible withjustify-content: flex-end.flex-direction: row-reverse; flex-wrap: wrap-reverse;plus reversing the items is visually equivalent but compatible. The focus order keeps being the same.Merge checklist