Browse Source

#6612: Penscratch 2: Fix nested lists in editor (#6633)

Bob Matyas 2 years ago
parent
commit
98e847eb37
1 changed files with 2 additions and 8 deletions
  1. 2 8
      penscratch-2/editor-style.css

+ 2 - 8
penscratch-2/editor-style.css

@@ -86,12 +86,6 @@ ol {
     list-style: decimal;
     list-style: decimal;
 }
 }
 
 
-li > ul,
-li > ol {
-    margin-bottom: 0;
-    margin-left: 24px;
-}
-
 dt {
 dt {
     font-weight: 600;
     font-weight: 600;
 }
 }
@@ -298,8 +292,8 @@ ol ol ol {
     list-style: lower-roman;
     list-style: lower-roman;
 }
 }
 
 
-li > ul,
-li > ol {
+.block-editor-block-list__block li > ul,
+.block-editor-block-list__block li > ol {
     margin-bottom: 0;
     margin-bottom: 0;
     margin-left: 27px;
     margin-left: 27px;
 }
 }