소스 검색

Merge pull request #3017 from Automattic/try/seedlet-more-specific-spacing-overrides

Try: Make spacing overrides more specific in Seedlet
Ben Dwyer 4 년 전
부모
커밋
17c04ef5e0
2개의 변경된 파일0개의 추가작업 그리고 17개의 파일을 삭제
  1. 0 8
      seedlet/assets/css/style-editor.css
  2. 0 9
      seedlet/assets/sass/blocks/utilities/_editor.scss

+ 0 - 8
seedlet/assets/css/style-editor.css

@@ -1506,14 +1506,6 @@ pre.wp-block-verse {
 	margin-bottom: var(--global--spacing-vertical);
 }
 
-[data-block] [data-block]:first-child {
-	margin-top: 0;
-}
-
-[data-block] [data-block]:nth-last-child(2) {
-	margin-bottom: 0;
-}
-
 /*
  * Custom gradients
 */

+ 0 - 9
seedlet/assets/sass/blocks/utilities/_editor.scss

@@ -149,15 +149,6 @@
 [data-block] {
 	margin-top: var(--global--spacing-vertical);
 	margin-bottom: var(--global--spacing-vertical);
-
-	[data-block]:first-child {
-		margin-top: 0;
-	}
-
-	// Needs to be the second-last child to avoid applying this to the appender.
-	[data-block]:nth-last-child(2) {
-		margin-bottom: 0;
-	}
 }
 
 /*