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 and aduth committed Apr 29, 2020
1 parent b03f6cc commit e184281
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 e184281

Please sign in to comment.