Skip to content

Commit

Permalink
feat(utility): updates ellipsis class
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya-kumawat committed Jul 24, 2020
1 parent e396caa commit 3ec95c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion css/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@ Width and height utilities includes support for 25%, 50%, 75%, and 100% by defau
| ----- | ---------- |
| hide-scroll-bar::-webkit-scrollbar | height: 0px;<br> <br>background: transparent;<br> |
| hide-scroll-bar | -ms-overflow-style: none;<br>scrollbar-width: none;<br> |
| ellipsis | white-space: nowrap;<br>overflow: hidden;<br>text-overflow: ellipsis;<br> |
| ellipsis | overflow: hidden;<br>text-overflow: ellipsis;<br> |
| ellipsis--noWrap | white-space: nowrap;<br>overflow: hidden;<br>text-overflow: ellipsis;<br> |


## SHADOW
Expand Down
5 changes: 5 additions & 0 deletions css/src/utils/utility.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
}

.ellipsis {
overflow: hidden;
text-overflow: ellipsis;
}

.ellipsis--noWrap {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Expand Down

0 comments on commit 3ec95c5

Please sign in to comment.