Skip to content

Commit

Permalink
Fix centered buttons margins (#21947)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad authored Apr 28, 2020
1 parent af27e96 commit 7a40ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/button/editor.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.wp-block[data-align="center"] .wp-block-button {
.wp-block[data-align="center"] > .wp-block-button {
text-align: center;
margin-left: auto;
margin-right: auto;
}

.wp-block[data-align="right"] .wp-block-button {
.wp-block[data-align="right"] > .wp-block-button {
/*!rtl:ignore*/
text-align: right;
}
Expand Down

0 comments on commit 7a40ce5

Please sign in to comment.