Sha256: 85cab6f7865afc1dc23092e0573b546565a3116c7bd2e6c7e61a94080851aba2

Contents?: true

Size: 945 Bytes

Versions: 1

Compression:

Stored size: 945 Bytes

Contents

/* Truncate */

.Truncate {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
}

.Truncate > .Truncate-text {
    min-width: 1ch;
    max-width: -moz-fit-content;
    max-width: fit-content;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.Truncate > .Truncate-text + .Truncate-text {
      margin-left: var(--yattho-control-small-gap, 4px);
    }

.Truncate > .Truncate-text.Truncate-text--primary {
      flex-basis: 200%;
    }

.Truncate > .Truncate-text.Truncate-text--expandable:hover,
    .Truncate > .Truncate-text.Truncate-text--expandable:focus,
    .Truncate > .Truncate-text.Truncate-text--expandable:active {
      max-width: 100% !important;
    }

.Truncate > .Truncate-text.Truncate-text--expandable:hover,
    .Truncate > .Truncate-text.Truncate-text--expandable:focus,
    .Truncate > .Truncate-text.Truncate-text--expandable:active {
      flex-shrink: 0;
      cursor: pointer;
    }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yattho_view_components-0.0.1 app/components/yattho/beta/truncate.css