datat.fi/_sass/basically-basic/mixins/_text-truncate.scss

8 lines
167 B
SCSS

// Text truncate
// Requires inline-block or block for proper styling
@mixin text-truncate() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}