Skip to content

Commit

Permalink
Override block editor margins in non-blocks themes
Browse files Browse the repository at this point in the history
  • Loading branch information
stacimc committed Sep 16, 2021
1 parent 32abf3d commit 5848145
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-library/src/buttons/editor.scss
Expand Up @@ -7,6 +7,11 @@ $blocks-block__margin: 0.5em;
}

.wp-block-buttons {
// Specificity needed to override editor auto block margins.
> .wp-block.wp-block-button {
margin: 0;
}

> .block-list-appender {
display: inline-flex;
align-items: center;
Expand Down

0 comments on commit 5848145

Please sign in to comment.