-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Block Lock Modal: Add ul browser defaults CSS resets #70700
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
Conversation
Size Change: -4 B (0%) Total Size: 1.89 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.
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Thanks for the review!
For now, I'm not concerned about the font family because it's easier (and a little more common) to set that globally than the overrides for |
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.
Makes sense. I agree that font family is special. If I'm not wrong we keep it global for all our components (but maybe we're not consistent)
I'm going to merge this. Failing CI checks aren't related to this PR. See discussion in |
Thanks for merging! |
Co-authored-by: andrewserong <andrewserong@git.wordpress.org> Co-authored-by: tellthemachines <isabel_brison@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
What?
Related to #70684 and a follow-on to #70685
Adds CSS resets for the
ul
element used in the block lock modal.Why?
To ensure that block editor components provide their own CSS resets, rather than depending on
common.css
. Currently, the other instances oful
within the block editor package provide their own resets forlist-style
andpadding
. The block lock modal is the only one in this package that doesn't (yet) do so.How?
For the CSS class used within the block lock modal, reset the list-style and padding (margin was already being reset).
Testing Instructions
common.css
rules:document.querySelector( 'link#common-css' ).remove()
Testing Instructions for Keyboard
Screenshots or screencast