Skip to content

Commit

Permalink
Site Editor: Remove Block List padding
Browse files Browse the repository at this point in the history
This carries over a change that was applied to the Post Editor in #22213.
See there for more context.
  • Loading branch information
ockham committed Jun 29, 2020
1 parent 17449b0 commit 6ae4c63
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/edit-site/src/components/block-editor/style.scss
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 6ae4c63

Please sign in to comment.