소스 검색

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 년 전
부모
커밋
80b6eefd32
1개의 변경된 파일0개의 추가작업 그리고 10개의 파일을 삭제
  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;