8 lines
150 B
SCSS
8 lines
150 B
SCSS
@mixin ellipsis($width: 100%) {
|
|
display: inline-block;
|
|
max-width: $width;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|