Fix: Nested list indendation in editor for classic themes#69507
Fix: Nested list indendation in editor for classic themes#69507karthikeya-io wants to merge 2 commits intoWordPress:trunkfrom
Conversation
|
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @karthikeya-io! In case you missed it, we'd love to have you join us in our Slack community. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
30cb460 to
f45e008
Compare
|
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 Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @rey. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. 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. |
| // rules like figure { margin: 0; } which would break centering. | ||
| // These rules should also not apply to direct children of flex layout blocks. | ||
| .editor-styles-wrapper :where(:not(.is-layout-flex, .is-layout-grid)) > .wp-block { | ||
| .editor-styles-wrapper :where(:not(.is-layout-flex, .is-layout-grid)) > .wp-block:not(.wp-block-list .wp-block-list) { |
There was a problem hiding this comment.
#60802 raised the specificity to the previous level of 0-2-0, but I do not think it should increase any more.
| .editor-styles-wrapper :where(:not(.is-layout-flex, .is-layout-grid)) > .wp-block:not(.wp-block-list .wp-block-list) { | |
| .editor-styles-wrapper :where(:not(.is-layout-flex, .is-layout-grid)) > .wp-block:where(:not(.wp-block-list .wp-block-list)) { |
There was a problem hiding this comment.
Thanks for the feedback, Have updated the specificity.
f45e008 to
042e33c
Compare
What?
Closes #69503
Related https://wordpress.org/support/topic/list-block-no-visual-nested-indent/
Why?
Fix nested list indentation in editor for classic themes.
This fixes the nested list indentation in the editor for following themes.
How?
Prevents applying
margin-left:autoandmargin-right: autoto nested listsTesting Instructions
Testing Instructions for Keyboard
Same
Screenshots or screencast