Skip to content

Commit dd2f13b

Browse files
committed
fix list block
1 parent 03f5319 commit dd2f13b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/scss/06-blocks/core/_list.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
--offset-item: 30px;
3232
--vertical-spaging-item: 16px;
3333

34-
ul,
35-
ol {
34+
ul:where(.wp-block-list),
35+
ol:where(.wp-block-list) {
3636
&:not([class*="no-list-style"]):not([role="list"]):not(.chosen-choices):not(.chosen-results) {
3737
font-size: var(--paragraph--font-size-default, $font-size-base);
3838
line-height: var(--paragraph--line-height-default, $line-height-base);
@@ -45,7 +45,7 @@
4545
}
4646
}
4747

48-
ul {
48+
ul:where(.wp-block-list) {
4949
&:not([class*="no-list-style"]):not([role="list"]):not(.chosen-choices):not(.chosen-results) {
5050
list-style-type: none;
5151

@@ -71,7 +71,7 @@
7171
}
7272
}
7373

74-
ol {
74+
ol:where(.wp-block-list) {
7575
padding-left: 10px;
7676

7777
&:not([class*="no-list-style"]):not([role="list"]) {

0 commit comments

Comments
 (0)