Skip to content

Commit

Permalink
feat: add text-truncate alias
Browse files Browse the repository at this point in the history
  • Loading branch information
MellowCo committed May 13, 2023
1 parent f54cc45 commit d051baa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,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 d051baa

Please sign in to comment.