Sha256: 76fe1139627e7b3274a54f6e21f0f746b6a86770839b260d9463c905c437e790

Contents?: true

Size: 414 Bytes

Versions: 3

Compression:

Stored size: 414 Bytes

Contents

// ------------------------------------------------------------------- //
//  Text Truncation
//
//  @include truncate(450px);
//  Only works for single-line truncation
// ------------------------------------------------------------------- //

@mixin truncate($truncation-boundary){
  display: inline-block;
  max-width: $truncation-boundary;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kentucky-0.5.2 app/assets/stylesheets/kentucky/mixins/_truncate.scss
kentucky-0.5.1 app/assets/stylesheets/kentucky/mixins/_truncate.scss
kentucky-0.5.0 app/assets/stylesheets/kentucky/mixins/_truncate.scss