浏览代码

Merge pull request #2723 from Automattic/fix/spearhead-sticky-post-paddings

Spearhead: fixed paddings after sticky post
Jeff Ong 4 年之前
父节点
当前提交
60ffb59ebf
共有 4 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      spearhead/assets/sass/_posts-and-pages.scss
  2. 1 1
      spearhead/style-rtl.css
  3. 1 1
      spearhead/style.css
  4. 0 0
      spearhead/style.css.map

+ 1 - 1
spearhead/assets/sass/_posts-and-pages.scss

@@ -75,7 +75,7 @@
 	}
 
 	// The first non-sticky post does need extra top padding.
-	+ article:not(.post.sticky) {
+	+ article:not(.sticky) {
 		padding-top: calc(2 * var(--global--spacing-vertical));
 	}
 }

+ 1 - 1
spearhead/style-rtl.css

@@ -133,7 +133,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 	padding-top: 0;
 }
 
-.post.sticky + article:not(.post.sticky) {
+.post.sticky + article:not(.sticky) {
 	padding-top: calc(2 * var(--global--spacing-vertical));
 }
 

+ 1 - 1
spearhead/style.css

@@ -133,7 +133,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 	padding-top: 0;
 }
 
-.post.sticky + article:not(.post.sticky) {
+.post.sticky + article:not(.sticky) {
 	padding-top: calc(2 * var(--global--spacing-vertical));
 }
 

文件差异内容过多而无法显示
+ 0 - 0
spearhead/style.css.map


部分文件因为文件数量过多而无法显示