Pārlūkot izejas kodu

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

Illustratr: Fix Blog Post Block grid width
Kjell Reigstad 5 gadi atpakaļ
vecāks
revīzija
19d951099f
2 mainītis faili ar 21 papildinājumiem un 0 dzēšanām
  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;
 }
 
+/* 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
 --------------------------------------------------------------*/

+ 6 - 0
illustratr/editor-blocks.css

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