Skip to content

Commit

Permalink
Stop headings breaking in odd places
Browse files Browse the repository at this point in the history
`.wp-site-blocks` has `word-wrap: break-word` which can cause headings to break mid word with `text-wrap: balance` set.

See #118
  • Loading branch information
adamwoodnz committed Dec 18, 2023
1 parent d7c81cb commit 5944170
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ h6,
caption,
figcaption {
text-wrap: var(--wp--custom--heading--typography--text-wrap);
overflow-wrap: normal;
overflow-wrap: initial;
word-break: initial;
}

// Prevent orphans
Expand Down

0 comments on commit 5944170

Please sign in to comment.