Karma CSS

Truncate

// Truncate
// ––––––––––––––––––––––––––––––––––––––––––––––––––

// truncate text at defined width
//
// Usage:
// @include truncate(100px);
//
@mixin truncate($truncation-boundary) {
  max-width: $truncation-boundary;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}