-
Notifications
You must be signed in to change notification settings - Fork 649
Shrink gutter around dialog on very small screen heights #7471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: c8387e6 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-ui depends on. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Or, apply the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Adjusts Dialog sizing for extremely short viewports to preserve usable scrollable space (addressing github/accessibility-audits#14888).
Changes:
- Added a narrow + very-short-viewport media query to reduce Dialog
max-height/max-widthgutters. - Allows the Dialog body’s scrollable region to remain visible on very small screen heights.
Addresses https://github.com/github/accessibility-audits/issues/14888
Changelog
New
Added new breakpoint for very small screen heights to shrink gutter around Dialog modal so that the scrollable region doesn't disappear.
Before

After

Rollout strategy
Testing & Reviewing
Merge checklist