virt2/assets/vendor_components/bootstrap/scss/mixins/_text-truncate.scss

9 lines
168 B
SCSS
Executable File

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