Skip to content

Conversation

holloway
Copy link
Contributor

@holloway holloway commented Apr 16, 2025

Current text-pretty description says,

Use the text-pretty utility to prevent orphans (a single word on its own line) at the end of a text block:

See this recent blog post from Webkit about text-wrap: pretty; and in particular,

Because of the way Chrome’s implementation of pretty has been taught, a lot of web developers expect this value is only supposed to prevent short last lines. But that was never the intention. In fact, the CSS Working Group defined a different value for such a purpose. It was just renamed last week to text-wrap: avoid-short-last-lines.

So it seems an updated description is needed and this PR has a first attempt.

Copy link

vercel bot commented Apr 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
tailwindcss-com Ready Ready Preview Comment Sep 12, 2025 2:31pm

@holloway
Copy link
Contributor Author

fyi @danhollick who I think wrote this page?

@philipp-spiess
Copy link
Member

Thank you! I removed some of the details. These felt a bit too much for this section. 🙏

@philipp-spiess philipp-spiess merged commit 2e04a04 into tailwindlabs:main Sep 12, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants