website/_sass/bootstrap/scss/mixins/_text-truncate.scss

8 строки
167 B
SCSS

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