This commit is contained in:
abdelrhmanahmed 2026-09-26 23:29:23 +00:00 • committed by GitHub
commit 6a93bd86f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View file

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Add `@tailwindcss/turbopack` package to run Tailwind CSS with Next.js ([20367](https://github.com/tailwindlabs/tailwindcss/pull/20367))
- Add `text-stable` utility for CSS `text-wrap: stable` to stabilize editable content line wrapping ([#20519](https://github.com/tailwindlabs/tailwindcss/pull/20519))
### Fixed

View file

@ -11994,7 +11994,7 @@ test('tab', async () => {
})
test('text-wrap', async () => {
expect(await run(['text-wrap', 'text-nowrap', 'text-balance', 'text-pretty']))
expect(await run(['text-wrap', 'text-nowrap', 'text-balance', 'text-pretty', 'text-stable']))
.toMatchInlineSnapshot(`
"
.text-balance {
@ -12009,6 +12009,10 @@ test('text-wrap', async () => {
text-wrap: pretty;
}
.text-stable {
text-wrap: stable;
}
.text-wrap {
text-wrap: wrap;
}
@ -12020,10 +12024,12 @@ test('text-wrap', async () => {
'-text-nowrap',
'-text-balance',
'-text-pretty',
'-text-stable',
'text-wrap/foo',
'text-nowrap/foo',
'text-balance/foo',
'text-pretty/foo',
'text-stable/foo',
]),
).toEqual('')
})

View file

@ -2359,6 +2359,7 @@ export function createUtilities(theme: Theme) {
staticUtility('text-nowrap', [['text-wrap', 'nowrap']])
staticUtility('text-balance', [['text-wrap', 'balance']])
staticUtility('text-pretty', [['text-wrap', 'pretty']])
staticUtility('text-stable', [['text-wrap', 'stable']])
staticUtility('break-normal', [
['overflow-wrap', 'normal'],
['word-break', 'normal'],