-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Improve modal and fullscreen/starter content view #55525
base: trunk
Are you sure you want to change the base?
Conversation
Size Change: +89 B (0%) Total Size: 1.69 MB
ℹ️ View Unchanged
|
Flaky tests detected in 5ab7532. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6592901509
|
Definitely good to fix that visual bug with the search input 👍 I have a small preference for the old spacing around the modal though. The overlap with the document toolbar helps to reinforce the separation between modal / page. The new values create a little bit of tension between the W button and the top-left corner of the modal. Not a strong opinion though, if someone else feels the change is good I wouldn't object! |
I feel the same way. The previous spacing feels more fullscreen to me when the full header/toolbar/W isn't showing. |
Feel that, but I do think it feels better not having the header toolbar items visually cut by the modal, while also increasing the click area to quickly exit the modal. Makes the modal feel more connected to the experience, not so obtrusive. |
Good stuff.
&
Agree with both of the above, but to avoid a tangent (the situation where two or more design elements, such as lines, shapes, or objects, come into contact in a way that creates a visual or physical connection without a clear distinction or separation) I think we should either keep the padding as it was, or make it larger than 60px to clearly delineate that the modal doesn't have a relationship with the top toolbar. It could be enough to have it be 80px. That said, and this is related to the conversation here, around default modal sizes. To avoid the proliferation of local overrides (which can be fine), I appreciate that you are making this change directly in the modal component itself. But that's also to say, probably add a changelog entry. Nice! |
Personally I would just leave it as it is. Top layer should not interact in any way with the below layer. |
It looks like there's a lot going on here
|
I'll split out the winners in this experiment into separate PRs; thanks for the 👀 folks. |
What?
Tweaks to make the fullscreen modal display better, as well as the starter content modal. Follow-up would include consolidating the template/template part modals (without so we don't have to duplicate styles.
Testing Instructions
Visuals