浏览代码

Remove left margin on grid view latest posts block.

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

+ 3 - 0
affinity/blocks.css

@@ -310,6 +310,9 @@ p.has-drop-cap:first-letter {
 /* Latest Posts */
 .wp-block-latest-posts {}
 .wp-block-latest-posts__post-date {}
+.wp-block-latest-posts.is-grid {
+	margin: 0 0 1.6em;
+}
 
 /* Media queries */
 

+ 3 - 3
affinity/editor-style.css

@@ -435,10 +435,10 @@ p.has-drop-cap:first-letter {
 
 /* Latest Posts */
 .wp-block-latest-posts {}
-.wp-block-latest-posts__post-date {
-	color: #888;
+.wp-block-latest-posts__post-date {}
+.wp-block-latest-posts.is-grid {
+	margin: 0 0 1.6em;
 }
-.is-grid {}
 
 /* Media Queries */