Skip to content

Commit

Permalink
Post title block default CSS: add a break-word rule by default (#35703)
Browse files Browse the repository at this point in the history
* Post title block default CSS: add a break-word rule by default
* move break-word to the parent element
  • Loading branch information
audrasjb committed Nov 13, 2021
1 parent 48b187f commit 1f0f834
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/block-library/src/post-title/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.wp-block-post-title a {
display: inline-block;
.wp-block-post-title {
word-break: break-word;

a {
display: inline-block;
}
}

0 comments on commit 1f0f834

Please sign in to comment.