瀏覽代碼

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

Bob Matyas 2 年之前
父節點
當前提交
98e847eb37
共有 1 個文件被更改,包括 2 次插入8 次删除
  1. 2 8
      penscratch-2/editor-style.css

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

@@ -86,12 +86,6 @@ ol {
     list-style: decimal;
 }
 
-li > ul,
-li > ol {
-    margin-bottom: 0;
-    margin-left: 24px;
-}
-
 dt {
     font-weight: 600;
 }
@@ -298,8 +292,8 @@ ol ol ol {
     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-left: 27px;
 }