瀏覽代碼

Fix margin auto bug.

Jeff Ong 4 年之前
父節點
當前提交
2f8857f7f8
共有 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

@@ -24,7 +24,7 @@
 }
 
 .site-main > * {
-	margin: 0;
+	margin: 0 auto;
 	padding: calc(3 * var(--global--spacing-vertical)) 0;
 }
 

+ 1 - 1
spearhead/style-rtl.css

@@ -53,7 +53,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .site-main > * {
-	margin: 0;
+	margin: 0 auto;
 	padding: calc(3 * var(--global--spacing-vertical)) 0;
 }
 

+ 1 - 1
spearhead/style.css

@@ -53,7 +53,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .site-main > * {
-	margin: 0;
+	margin: 0 auto;
 	padding: calc(3 * var(--global--spacing-vertical)) 0;
 }
 

File diff suppressed because it is too large
+ 0 - 0
spearhead/style.css.map


Some files were not shown because too many files changed in this diff