浏览代码

Styles for category and archive blocks.

Caroline Moore 6 年之前
父节点
当前提交
277fab337f
共有 2 个文件被更改,包括 10 次插入3 次删除
  1. 4 3
      affinity/blocks.css
  2. 6 0
      affinity/editor-style.css

+ 4 - 3
affinity/blocks.css

@@ -180,9 +180,10 @@ p.has-drop-cap:first-letter {
 	text-align: center;
 }
 
-/* Categories */
-.wp-block-categories-list {
-
+/* Categories & Archives */
+.wp-block-categories-list,
+.wp-block-archives {
+	margin-left: 3.2em;
 }
 
 /* Tables */

+ 6 - 0
affinity/editor-style.css

@@ -371,6 +371,12 @@ p.has-drop-cap:first-letter {
 	text-align: right;
 }
 
+/* Categories & Archives */
+.wp-block-categories-list,
+.wp-block-archives {
+	margin-left: 3.2em;
+}
+
 /* Separator */
 .wp-block-separator {
 	background-color: #e8e9ea;