Skip to content

Commit

Permalink
feat(preset-mini): support text-truncate alias
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 12, 2023
1 parent 6c90fa3 commit 50275b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/preset-mini/src/_rules/static.ts
Expand Up @@ -96,6 +96,7 @@ export const breaks: Rule[] = [

export const textOverflows: Rule[] = [
['truncate', { 'overflow': 'hidden', 'text-overflow': 'ellipsis', 'white-space': 'nowrap' }],
['text-truncate', { 'overflow': 'hidden', 'text-overflow': 'ellipsis', 'white-space': 'nowrap' }],
['text-ellipsis', { 'text-overflow': 'ellipsis' }],
['text-clip', { 'text-overflow': 'clip' }],
]
Expand Down

0 comments on commit 50275b0

Please sign in to comment.