Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
move break-words to legacy utilities
  • Loading branch information
RobinMalfait committed Oct 20, 2025
commit 661ad41569fed4a24f015b1f217125a2a9b0a99b
Original file line number Diff line number Diff line change
Expand Up @@ -3606,7 +3606,6 @@ exports[`getClassList 1`] = `
"break-inside-avoid-page",
"break-keep",
"break-normal",
"break-words",
"brightness-0",
"brightness-50",
"brightness-75",
Expand Down
1 change: 1 addition & 0 deletions packages/tailwindcss/src/compat/legacy-utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ export function registerLegacyUtilities(designSystem: DesignSystem) {
})

designSystem.utilities.static('order-none', () => [decl('order', '0')])
designSystem.utilities.static('break-words', () => [decl('overflow-wrap', 'break-word')])
}
1 change: 0 additions & 1 deletion packages/tailwindcss/src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2156,7 +2156,6 @@ export function createUtilities(theme: Theme) {
['overflow-wrap', 'normal'],
['word-break', 'normal'],
])
staticUtility('break-words', [['overflow-wrap', 'break-word']])
staticUtility('break-all', [['word-break', 'break-all']])
staticUtility('break-keep', [['word-break', 'keep-all']])

Expand Down