Skip to content

Commit

Permalink
Fix the Buttons block margins (#21376)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad authored and whyisjake committed Apr 22, 2020
1 parent 7542cff commit 0fa11e0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/block-library/src/buttons/style.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
.wp-block-buttons .wp-block-button {
display: inline-block;
margin: $grid-size-small;
margin-right: $grid-unit-10;
margin-bottom: $grid-unit-10;
}

.wp-block-buttons.alignright .wp-block-button {
margin-right: none;
margin-left: $grid-unit-10;
}

.wp-block-buttons.aligncenter {
text-align: center;
}

0 comments on commit 0fa11e0

Please sign in to comment.