Browse Source

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

Try: Make spacing overrides more specific in Seedlet
Ben Dwyer 4 năm trước cách đây
mục cha
commit
17c04ef5e0

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

@@ -1506,14 +1506,6 @@ pre.wp-block-verse {
 	margin-bottom: var(--global--spacing-vertical);
 	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
  * Custom gradients
 */
 */

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

@@ -149,15 +149,6 @@
 [data-block] {
 [data-block] {
 	margin-top: var(--global--spacing-vertical);
 	margin-top: var(--global--spacing-vertical);
 	margin-bottom: 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;
-	}
 }
 }
 
 
 /*
 /*