-
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
[UI Components] resolve missing styles from checkbox-control component (#11089) #16551
[UI Components] resolve missing styles from checkbox-control component (#11089) #16551
Conversation
height: 16px; | ||
margin: 0 4px 0 0; | ||
outline: 0; | ||
padding: 0 !important; |
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.
For anyone else reviewing this, this whole green section is largely copied from http://localhost:8888/wp-admin/css/forms.css?ver=5.2.2, so it is as it says on the bin, a copy of the CSS from wp-admin. So while it would be nice to refactor away the !important
, this is a separate task bringing these components to all of wp-admin.
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.
Really cool work! Works as advertised for me. This work will also benefit us when we at some point in the future can refactor to use the same components everywhere in WP-admin as oppposed to just the block editor.
Before:
After:
I left one small comment about vendor prefixes but other than that, 👍 👍
Remove vendor prefixing and target svg.dashicon css
… CSS Co-Authored-By: Riad Benguella <[email protected]>
Congrats for the first contribution. |
Description
This change affects the
CheckboxControl
UI component:How has this been tested?
On Gutenberg playground and in the editor on:
macOS 10.14.5
Chrome 75.0.3770.100
Safari 12.1.1
Firefox 67.0.4
Screenshots
Types of changes
Fixes #11089
Checklist: