-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Simplify and unify a few modal dialogs. #37857
Conversation
I wonder, instead of scoping the max-widths for these modals to only take beyond the mobile breakpoint, perhaps we should just keep them unqueried, and then set |
Size Change: +27 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
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.
Needs rebasing, but changes look good to me!
94239b2
to
c8a361b
Compare
Description
Followup to #37821 and #37852, part of #37725.
We add max-widths to a few of the modal dialogs we have, but those max-widths should only apply when the modal isn't meant to be fullscreen, which it is on mobile. That results in a not quite fullscreen modal:
This PR fixes it for Page List to menu item link conversion dialogs, legacy gallery upgrade dialogs, and post takeover dialogs. Here's the page list after:
It also unifies and simplifies a bit the code used. It's really starting to look like we could move towards something like #34153 for a bunch of these.
How has this been tested?
Ideally test the page list conversion, the gallery upgrade, and the post takeover modals.
Checklist:
*.native.js
files for terms that need renaming or removal).