Skip to content

Commit

Permalink
Remove block preview paddings (#23386)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad authored Jun 23, 2020
1 parent d54e248 commit 29e0b14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-editor/src/components/block-preview/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
width: 100%;

overflow: hidden;

// Overrides the default padding applied in editor styles otherwise preview centering break.
&.editor-styles-wrapper {
padding: 0;
}
}

.block-editor-block-preview__content {
Expand Down

0 comments on commit 29e0b14

Please sign in to comment.