Skip to content

Commit

Permalink
feat(style): Add utility classes for text overflow and clipping
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Nov 15, 2023
1 parent 879ce1d commit 4f95c5e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/style/lib/utilities.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@layer utilities {
.text-ellipsis {
@apply overflow-hidden overflow-ellipsis whitespace-nowrap;
}

.overflow-clip {
overflow: hidden;
overflow: clip;
}
}

0 comments on commit 4f95c5e

Please sign in to comment.