cloudfour/cloudfour.com-patterns

Use text-wrap rather than non-breaking space in titles

Closed this issue · 1 comments

image

We currently avoid orphans in titles by adding a non-breaking space between the last two words. This is usually fine, but in some cases it can result it awkward breaking (like in the screenshot).

We should explore using text-wrap:balance or text-wrap:pretty as browser support increases, with the goal of dropping the non-breaking space.

This is done! See #2225