-
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
Remove border from quick inserter child elements #48794
Conversation
Size Change: +331 B (0%) Total Size: 1.34 MB
ℹ️ View Unchanged
|
Flaky tests detected in 8d03edb. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4345124003
|
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.
I just cherry-picked this PR to the wp/6.2 branch to get it included in the next release: 262cfdc |
What?
Fixes the 'double-border' on quick inserter child elements.
Also fixes a small radius quirk.
Why?
Currently we're applying two borders, one via the
border
property, and one viabox-shadow
. The result is a UI that feels inconsistent with the rest of the Editor.How?
Removes some CSS.
I removed the border instead of the shadow as that style was local to the quick inserter, while the shadow is applied to all popovers.I revised this to leave the border on the quick inserter children, and remove the one added by the shadow. The benefit to this approach is that the dark grey button at the bottom is not wrapped in an awkward light grey border.Testing Instructions
Screenshots or screencast