Bläddra i källkod

Remove unnecessary h-padding styles

The editor-only horizontal padding for the block element doesn't appear
to be helpful. Removing these styles allows all elements (including
those blocks that add .block-editor-inner-blocks when in the editor) to
lay out as expected.
Jason Crist 4 år sedan
förälder
incheckning
80b6eefd32
1 ändrade filer med 0 tillägg och 10 borttagningar
  1. 0 10
      varia/sass/blocks/media-text/_editor.scss

+ 0 - 10
varia/sass/blocks/media-text/_editor.scss

@@ -1,14 +1,4 @@
 .wp-block-media-text {
-	.block-editor-inner-blocks {
-		padding-right: #{map-deep-get($config-global, "spacing", "horizontal")};
-		padding-left: #{map-deep-get($config-global, "spacing", "horizontal")};
-
-		@include media(tablet) {
-			padding-right: #{map-deep-get($config-global, "spacing", "vertical")};
-			padding-left: #{map-deep-get($config-global, "spacing", "vertical")};
-		}
-	}
-
 	&[style*="background-color"]:not(.has-background-background-color) {
 		a {
 			color: currentColor;