Skip to content

Commit

Permalink
fix: make sure full width blocks preview centered in editor (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford authored May 11, 2020
1 parent 94961a7 commit e7db1d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions newspack-theme/sass/style-editor-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
/** === Default Template === */

@include media( mobile ) {
body.newspack-default-template .wp-block[data-align='full'] {
body.newspack-default-template
.block-editor-block-list__layout.is-root-container
> .wp-block[data-align='full'] {
margin-left: auto;
margin-right: auto;
max-width: 780px;
}
}

Expand Down

0 comments on commit e7db1d1

Please sign in to comment.