-
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
Small tweaks to CreatePatternModal #56016
Conversation
Size Change: +8 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
Flaky tests detected in 60f600d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6817881975
|
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.
Nice one. Correct sizes, and avoiding the widow. Green check for that.
A couple of additional notes: I could've sworn that the categories field looked taller than the name field, but it's a visual illusion, they are both correctly 40px:
I wonder if it's the fact that there's placeholder text in one ("My pattern") but not the other. I'm assuming we can't show placeholder text in the specialized categories field, but I wonder, is it actually helpful to show placeholder text in the Name field? Could we do without it for a clearer initial view?
By the way, nice work on getting the focus styles right for the categories dropdown, I have a feeling that's also you, in some separate PR:
Can we get the buttons to also be 40px tall while we're here? Same general heuristic applies for the buttons as for inputs, 40px tall unless the context asks for compact 32:
It's probably helpful, but not as-is. Could be interesting to have examples of what you'd name a pattern, like "Main hero area" or something. |
Sure thing. |
60f600d
to
363bf09
Compare
What?
Should be very little visual changes.
__next40pxDefaultSize
instead.Testing Instructions
Screenshots or screencast