Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.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
You can’t perform that action at this time.