Skip to content

Commit c726806

Browse files
yuheiyreinink
authored andcommitted
Add support for text-wrap: pretty (#12031)
* Add support for `text-wrap: pretty` * Update changelog --------- Co-authored-by: Jonathan Reinink <[email protected]>
1 parent a38b946 commit c726806

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

1616
- Add `svh`, `lvh`, and `dvh` values to default `height`/`min-height`/`max-height` theme ([#11317](https://github.com/tailwindlabs/tailwindcss/pull/11317))
1717
- Add `has-*` variants for `:has(...)` pseudo-class ([#11318](https://github.com/tailwindlabs/tailwindcss/pull/11318))
18-
- Add `text-wrap` utilities including `text-balance` ([#11320](https://github.com/tailwindlabs/tailwindcss/pull/11320))
18+
- Add `text-wrap` utilities including `text-balance` and `text-pretty` ([#11320](https://github.com/tailwindlabs/tailwindcss/pull/11320), [#12031](https://github.com/tailwindlabs/tailwindcss/pull/12031))
1919

2020
## [3.3.6] - 2023-12-04
2121

src/corePlugins.js

+1
Original file line numberDiff line numberDiff line change
@@ -1534,6 +1534,7 @@ export let corePlugins = {
15341534
'.text-wrap': { 'text-wrap': 'wrap' },
15351535
'.text-nowrap': { 'text-wrap': 'nowrap' },
15361536
'.text-balance': { 'text-wrap': 'balance' },
1537+
'.text-pretty': { 'text-wrap': 'pretty' },
15371538
})
15381539
},
15391540

0 commit comments

Comments
 (0)