diff --git a/src/css/app/foundation/_wordpress/_has-background/_app.scss b/src/css/app/foundation/_wordpress/_has-background/_app.scss index 82136b2d..f8e9d821 100644 --- a/src/css/app/foundation/_wordpress/_has-background/_app.scss +++ b/src/css/app/foundation/_wordpress/_has-background/_app.scss @@ -1,4 +1,5 @@ -:where(.has-background) { +:where(.has-background), +:root :where(p.has-background) { padding: var(--_padding1); } diff --git a/src/css/block-editor/app.scss b/src/css/block-editor/app.scss index 9bc27bfb..b57658d3 100644 --- a/src/css/block-editor/app.scss +++ b/src/css/block-editor/app.scss @@ -77,12 +77,6 @@ html :where(.editor-styles-wrapper) { @include entry-content(); } -.block-editor-writing-flow.editor-styles-wrapper { - > * + * { - margin-top: var(--wp--style--block-gap); - } -} - .wp-block-widget-area__inner-blocks .block-editor-block-list__layout [data-type="core/heading"], [data-type="core/widget-group"] > .widget-title { // @todo Because ::after is used in the block editor.