Created
September 5, 2020 18:05
-
-
Save kerimdzhanov/0c61ed45462e6d508786f4c40539cdee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ellipsis { | |
white-space: nowrap; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} | |
td.ellipsis { | |
position: relative; | |
white-space: initial; | |
overflow: initial; | |
text-overflow: initial; | |
&::before { | |
content: " "; | |
visibility: hidden; | |
} | |
> span, | |
> a { | |
position: absolute; | |
left: 0; | |
right: 0; | |
white-space: nowrap; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment