From 6ae4c63cfb272f06cf5408e61b08700767686633 Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Mon, 29 Jun 2020 21:15:21 +0200 Subject: [PATCH] Site Editor: Remove Block List padding This carries over a change that was applied to the Post Editor in #22213. See there for more context. --- .../src/components/block-editor/style.scss | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/packages/edit-site/src/components/block-editor/style.scss b/packages/edit-site/src/components/block-editor/style.scss index 38b2c0ad022c86..7ef76c4533a5e4 100644 --- a/packages/edit-site/src/components/block-editor/style.scss +++ b/packages/edit-site/src/components/block-editor/style.scss @@ -1,17 +1,3 @@ -.edit-site-block-editor__block-list { - padding-bottom: $grid-unit-30; - padding-top: $grid-unit-30 + 5; - - padding-left: $block-padding; - padding-right: $block-padding; - - // Full-wide. (to account for the padddings added above) - .wp-block[data-align="full"] { - margin-left: -$block-padding; - margin-right: -$block-padding; - } -} - // The button element easily inherits styles that are meant for the editor style. // These rules enhance the specificity to reduce that inheritance. // This is duplicated in visual-editor.