Sha256: a4b260491c5c62150803170de40cf7538df5b99d5596b9d319662428f187052b

Contents?: true

Size: 818 Bytes

Versions: 154

Compression:

Stored size: 818 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

154 entries across 154 versions & 2 rubygems

Version Path
primer_view_components-0.0.123 app/components/primer/truncate.pcss
primer_view_components-0.0.122 app/components/primer/truncate.pcss
primer_view_components-0.0.121 app/components/primer/truncate.pcss
primer_view_components-0.0.120 app/components/primer/truncate.pcss
primer_view_components-0.0.119 app/components/primer/truncate.pcss
primer_view_components-0.0.118 app/components/primer/truncate.pcss
primer_view_components-0.0.117 app/components/primer/truncate.pcss
primer_view_components-0.0.116 app/components/primer/truncate.pcss
primer_view_components-0.0.115 app/components/primer/truncate.pcss
primer_view_components-0.0.114 app/components/primer/truncate.pcss
primer_view_components-0.0.113 app/components/primer/truncate.pcss
primer_view_components-0.0.112 app/components/primer/truncate.pcss
primer_view_components-0.0.111 app/components/primer/truncate.pcss
primer_view_components-0.0.110 app/components/primer/truncate.pcss