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

feat(preset-mini): add text-pretty css property #3378

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

quecot
Copy link
Contributor

@quecot quecot commented Nov 25, 2023

Description:

This PR adds the .text-pretty utility to UnoCSS, implementing text-wrap: pretty;. This feature, supported in Chrome from version 117 as per MDN Web Docs and CanIUse, allows for aesthetically pleasing text wrapping and avoids lingering words.

Changes:

  • New .text-pretty class with text-wrap: pretty;.

@quecot quecot requested a review from antfu as a code owner November 25, 2023 20:35
Copy link

netlify bot commented Nov 25, 2023

Deploy Preview for unocss ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit cdd7d38
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/65625a8bdbcb7200083103e1
😎 Deploy Preview https://deploy-preview-3378--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@zyyv zyyv added this pull request to the merge queue Nov 27, 2023
Merged via the queue into unocss:main with commit fe3fa73 Nov 27, 2023
9 checks passed
@quecot quecot deleted the text-pretty branch January 26, 2024 19:48
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