Skip to content

Commit

Permalink
Button Block: Apply Stretch Styles Correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Oct 25, 2024
1 parent 268b0fe commit 7683a26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/block-library/src/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ $blocks-block__margin: 0.5em;
text-align: center;
word-break: break-word; // overflow-wrap doesn't work well if a link is wrapped in the div, so use word-break here.
box-sizing: border-box;
height: 100%;
width: 100%;
align-content: center;

&.aligncenter {
text-align: center;
Expand Down

0 comments on commit 7683a26

Please sign in to comment.