소스 검색

Modern Business: Make sure the first block has margin-top: 0

Allan Cole 6 년 전
부모
커밋
0b8dea7b2a
3개의 변경된 파일21개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      modern-business/sass/blocks/_blocks.scss
  2. 7 0
      modern-business/style-rtl.css
  3. 7 0
      modern-business/style.css

+ 7 - 0
modern-business/sass/blocks/_blocks.scss

@@ -93,6 +93,13 @@
 	}
 }
 
+/*
+ * Make sure the first block has margin-top: 0
+ */
+.entry:not(.has-post-thumbnail) .entry-content > :first-child {
+	margin-top: 0;
+}
+
 /*
  * Unset nested content selector styles
  * - Prevents layout styles from cascading too deeply

+ 7 - 0
modern-business/style-rtl.css

@@ -3482,6 +3482,13 @@ body.page .main-navigation {
   }
 }
 
+/*
+ * Make sure the first block has margin-top: 0
+ */
+.entry:not(.has-post-thumbnail) .entry-content > :first-child {
+  margin-top: 0;
+}
+
 /*
  * Unset nested content selector styles
  * - Prevents layout styles from cascading too deeply

+ 7 - 0
modern-business/style.css

@@ -3494,6 +3494,13 @@ body.page .main-navigation {
   }
 }
 
+/*
+ * Make sure the first block has margin-top: 0
+ */
+.entry:not(.has-post-thumbnail) .entry-content > :first-child {
+  margin-top: 0;
+}
+
 /*
  * Unset nested content selector styles
  * - Prevents layout styles from cascading too deeply