소스 검색

Remoevd unnessary 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 년 전
부모
커밋
f83223282c
2개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 1
      seedlet/assets/sass/blocks/_editor.scss
  2. 0 6
      seedlet/assets/sass/blocks/media-text/_editor.scss

+ 0 - 1
seedlet/assets/sass/blocks/_editor.scss

@@ -17,7 +17,6 @@
 @import "latest-posts/editor";
 @import "legacy/editor"; // "Blocks" from the legacy WP editor, ie: galleries, .button class, etc.
 @import "list/editor";
-@import "media-text/editor";
 @import "navigation/editor";
 @import "paragraph/editor";
 @import "posts-list/editor";

+ 0 - 6
seedlet/assets/sass/blocks/media-text/_editor.scss

@@ -1,6 +0,0 @@
-.wp-block-media-text {
-	.block-editor-inner-blocks {
-		padding-right: var(--global--spacing-horizontal);
-		padding-left: var(--global--spacing-horizontal);
-	}
-}