瀏覽代碼

Undoing a small regression/typo in the code.

Allan Cole 6 年之前
父節點
當前提交
1e524b4e40
共有 3 個文件被更改,包括 10 次插入10 次删除
  1. 2 2
      elegant-business/sass/blocks/_blocks.scss
  2. 4 4
      elegant-business/style-rtl.css
  3. 4 4
      elegant-business/style.css

+ 2 - 2
elegant-business/sass/blocks/_blocks.scss

@@ -11,11 +11,11 @@
 		margin: $size__vertical-spacing-unit auto;
 	}
 
-	> &:first-child {
+	> *:first-child {
 		margin-top: 0;
 	}
 
-	> &:last-child {
+	> *:last-child {
 		margin-bottom: 0;
 	}
 

+ 4 - 4
elegant-business/style-rtl.css

@@ -3340,13 +3340,13 @@ body.page .main-navigation {
   }
 }
 
-> .entry .entry-content > *:first-child, >
-.entry .entry-summary > *:first-child {
+.entry .entry-content > * > *:first-child,
+.entry .entry-summary > * > *:first-child {
   margin-top: 0;
 }
 
-> .entry .entry-content > *:last-child, >
-.entry .entry-summary > *:last-child {
+.entry .entry-content > * > *:last-child,
+.entry .entry-summary > * > *:last-child {
   margin-bottom: 0;
 }
 

+ 4 - 4
elegant-business/style.css

@@ -3346,13 +3346,13 @@ body.page .main-navigation {
   }
 }
 
-> .entry .entry-content > *:first-child, >
-.entry .entry-summary > *:first-child {
+.entry .entry-content > * > *:first-child,
+.entry .entry-summary > * > *:first-child {
   margin-top: 0;
 }
 
-> .entry .entry-content > *:last-child, >
-.entry .entry-summary > *:last-child {
+.entry .entry-content > * > *:last-child,
+.entry .entry-summary > * > *:last-child {
   margin-bottom: 0;
 }