Преглед изворни кода

Merge pull request #4263 from Automattic/seedlet-fix-spacing-query-block-children

Seedlet: fixes spacing on query block children
Maggie пре 4 година
родитељ
комит
e8dc12d2b5
3 измењених фајлова са 18 додато и 0 уклоњено
  1. 2 0
      seedlet/assets/sass/structure/_vertical-margins.scss
  2. 8 0
      seedlet/style-rtl.css
  3. 8 0
      seedlet/style.css

+ 2 - 0
seedlet/assets/sass/structure/_vertical-margins.scss

@@ -100,6 +100,8 @@
 .site-main > article > *, // apply vertical margins to article level
 .site-main > .not-found > *, // apply vertical margins to article level
 .entry-content > *,
+.wp-block-post-template > *,
+.wp-block-post-template .wp-block-post > *,
 [class*="inner-container"] > *,
 .wp-block-template-part > *,
 .widget-area > *,

+ 8 - 0
seedlet/style-rtl.css

@@ -460,6 +460,8 @@ Included in theme screenshot and in block patterns.
 .site-main > article > *,
 .site-main > .not-found > *,
 .entry-content > *,
+.wp-block-post-template > *,
+.wp-block-post-template .wp-block-post > *,
 [class*="inner-container"] > *,
 .wp-block-template-part > *,
 .widget-area > *,
@@ -473,6 +475,8 @@ Included in theme screenshot and in block patterns.
 	.site-main > article > *,
 	.site-main > .not-found > *,
 	.entry-content > *,
+	.wp-block-post-template > *,
+	.wp-block-post-template .wp-block-post > *,
 	[class*="inner-container"] > *,
 	.wp-block-template-part > *,
 	.widget-area > *,
@@ -486,6 +490,8 @@ Included in theme screenshot and in block patterns.
 .site-main > article > *:first-child,
 .site-main > .not-found > *:first-child,
 .entry-content > *:first-child,
+.wp-block-post-template > *:first-child,
+.wp-block-post-template .wp-block-post > *:first-child,
 [class*="inner-container"] > *:first-child,
 .wp-block-template-part > *:first-child,
 .widget-area > *:first-child,
@@ -497,6 +503,8 @@ Included in theme screenshot and in block patterns.
 .site-main > article > *:last-child,
 .site-main > .not-found > *:last-child,
 .entry-content > *:last-child,
+.wp-block-post-template > *:last-child,
+.wp-block-post-template .wp-block-post > *:last-child,
 [class*="inner-container"] > *:last-child,
 .wp-block-template-part > *:last-child,
 .widget-area > *:last-child,

+ 8 - 0
seedlet/style.css

@@ -460,6 +460,8 @@ Included in theme screenshot and in block patterns.
 .site-main > article > *,
 .site-main > .not-found > *,
 .entry-content > *,
+.wp-block-post-template > *,
+.wp-block-post-template .wp-block-post > *,
 [class*="inner-container"] > *,
 .wp-block-template-part > *,
 .widget-area > *,
@@ -473,6 +475,8 @@ Included in theme screenshot and in block patterns.
 	.site-main > article > *,
 	.site-main > .not-found > *,
 	.entry-content > *,
+	.wp-block-post-template > *,
+	.wp-block-post-template .wp-block-post > *,
 	[class*="inner-container"] > *,
 	.wp-block-template-part > *,
 	.widget-area > *,
@@ -486,6 +490,8 @@ Included in theme screenshot and in block patterns.
 .site-main > article > *:first-child,
 .site-main > .not-found > *:first-child,
 .entry-content > *:first-child,
+.wp-block-post-template > *:first-child,
+.wp-block-post-template .wp-block-post > *:first-child,
 [class*="inner-container"] > *:first-child,
 .wp-block-template-part > *:first-child,
 .widget-area > *:first-child,
@@ -497,6 +503,8 @@ Included in theme screenshot and in block patterns.
 .site-main > article > *:last-child,
 .site-main > .not-found > *:last-child,
 .entry-content > *:last-child,
+.wp-block-post-template > *:last-child,
+.wp-block-post-template .wp-block-post > *:last-child,
 [class*="inner-container"] > *:last-child,
 .wp-block-template-part > *:last-child,
 .widget-area > *:last-child,