Sha256: 6d93730fcd0fe98d2f8207b0ca15f65c1219cc5874283351199bc8e15986c42b

Contents?: true

Size: 817 Bytes

Versions: 2

Compression:

Stored size: 817 Bytes

Contents

/* CSS truncate */

/* css-truncate will shorten text with an ellipsis. */

.css-truncate {
  /* css-truncate-overflow will shorten text with an ellipsis when overflowing */
  &.css-truncate-overflow,
  & .css-truncate-overflow,
  &.css-truncate-target,
  & .css-truncate-target {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* css-truncate-target will shorten text with an ellipsis and a max width */
  &.css-truncate-target,
  & .css-truncate-target {
    display: inline-block;
    max-width: 125px;
    vertical-align: top;
  }

  &.expandable.zeroclipboard-is-hover .css-truncate-target,
  &.expandable.zeroclipboard-is-hover.css-truncate-target,
  &.expandable:hover .css-truncate-target,
  &.expandable:hover.css-truncate-target {
    max-width: 10000px !important;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yattho_view_components-0.1.1 app/components/yattho/truncate.pcss
yattho_view_components-0.0.1 app/components/yattho/truncate.pcss