Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f45e008

Browse files
committedMar 10, 2025·
Fix: Nested list indendation in editor for classic themes
1 parent 1d646ec commit f45e008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/edit-post/src/classic.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Specificity is kept at this level as many classic themes output
33
// rules like figure { margin: 0; } which would break centering.
44
// These rules should also not apply to direct children of flex layout blocks.
5-
.editor-styles-wrapper :where(:not(.is-layout-flex, .is-layout-grid)) > .wp-block {
5+
.editor-styles-wrapper :where(:not(.is-layout-flex, .is-layout-grid)) > .wp-block:not(.wp-block-list .wp-block-list) {
66
margin-left: auto;
77
margin-right: auto;
88
}

0 commit comments

Comments
 (0)
Please sign in to comment.