Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for text-wrap: pretty #12031

Merged
merged 2 commits into from Sep 19, 2023
Merged

Conversation

yuheiy
Copy link
Contributor

@yuheiy yuheiy commented Sep 18, 2023

This PR adds support for text-wrap: pretty through the text-pretty utility.

text-wrap: pretty was shipped in Chrome 117.

Unlike text-wrap: balance, where all lines are made to have equal-length, text-wrap: pretty prevents the final line from being excessively short. It serves as a value specifically designed to prevent widows without requiring additional formatting.

Further Reading:

ref #11320

@reinink reinink merged commit 5366d24 into tailwindlabs:master Sep 19, 2023
10 checks passed
@reinink
Copy link
Member

reinink commented Sep 19, 2023

Hey thanks for this contribution! 🤙

thecrypticace pushed a commit that referenced this pull request Dec 4, 2023
* Add support for `text-wrap: pretty`

* Update changelog

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
thecrypticace pushed a commit that referenced this pull request Dec 5, 2023
* Add support for `text-wrap: pretty`

* Update changelog

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
thecrypticace pushed a commit that referenced this pull request Dec 18, 2023
* Add support for `text-wrap: pretty`

* Update changelog

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
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.

None yet

2 participants