浏览代码

Merge pull request #1776 from Automattic/fix/#1774

Illustratr: Fix Blog Post Block grid width
Kjell Reigstad 5 年之前
父节点
当前提交
19d951099f
共有 2 个文件被更改,包括 21 次插入0 次删除
  1. 15 0
      illustratr/blocks.css
  2. 6 0
      illustratr/editor-blocks.css

+ 15 - 0
illustratr/blocks.css

@@ -226,6 +226,21 @@ p.has-drop-cap:not(:focus)::first-letter {
 	display: flex;
 	display: flex;
 }
 }
 
 
+/* Blog Posts */
+
+.wp-block-newspack-blocks-homepage-articles.is-grid .entry-meta {
+	width: initial;
+}
+
+.wp-block-newspack-blocks-homepage-articles.is-grid .entry-title,
+.wp-block-newspack-blocks-homepage-articles.is-grid .cat-links {
+	text-align: left;
+}
+
+.wp-block-newspack-blocks-homepage-articles.is-grid .entry-meta:before {
+	display: none;
+}
+
 /*--------------------------------------------------------------
 /*--------------------------------------------------------------
 3.0 Blocks - Formatting Blocks
 3.0 Blocks - Formatting Blocks
 --------------------------------------------------------------*/
 --------------------------------------------------------------*/

+ 6 - 0
illustratr/editor-blocks.css

@@ -558,6 +558,12 @@
 	text-transform: uppercase;
 	text-transform: uppercase;
 }
 }
 
 
+/* Blog Posts */
+
+.wp-block-a8c-blog-posts .entry-title {
+	text-trasform: uppercase;
+}
+
 /*--------------------------------------------------------------
 /*--------------------------------------------------------------
 4.0 Blocks - Formatting
 4.0 Blocks - Formatting
 --------------------------------------------------------------*/
 --------------------------------------------------------------*/