Skip to content

Commit

Permalink
Fix separator block styles preview
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagonoronha committed Jun 17, 2019
1 parent 2c8a0f9 commit d8db874
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/css/base/gutenberg-blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,10 @@
.wp-block-separator {
border: 0;
margin: 0 auto ms(2);

&:not( .is-style-wide ):not( .is-style-dots ) {
max-width: 10%;
}
}

// Twitter Embed
Expand Down
6 changes: 6 additions & 0 deletions assets/css/base/gutenberg-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -340,3 +340,9 @@ ul.wp-block-latest-posts {
margin-right: 0;
list-style: none;
}

// Separator
.wp-block-separator {
margin-top: ms(2);
margin-bottom: ms(2);
}

0 comments on commit d8db874

Please sign in to comment.