| 1 |
.pf-v6-c-truncate { |
| 2 |
--pf-v6-c-truncate--MinWidth: 6ch; |
| 3 |
--pf-v6-c-truncate__start--MinWidth: 6ch; |
| 4 |
} |
| 5 |
|
| 6 |
.pf-v6-c-truncate { |
| 7 |
display: inline-grid; |
| 8 |
grid-auto-flow: column; |
| 9 |
align-items: baseline; |
| 10 |
min-width: var(--pf-v6-c-truncate--MinWidth); |
| 11 |
text-decoration: inherit; |
| 12 |
} |
| 13 |
.pf-v6-c-truncate.pf-m-fixed { |
| 14 |
display: inline; |
| 15 |
align-items: revert; |
| 16 |
min-width: revert; |
| 17 |
} |
| 18 |
|
| 19 |
.pf-v6-c-truncate__start, |
| 20 |
.pf-v6-c-truncate__end { |
| 21 |
overflow: hidden; |
| 22 |
text-overflow: ellipsis; |
| 23 |
white-space: pre; |
| 24 |
} |
| 25 |
|
| 26 |
.pf-v6-c-truncate__start { |
| 27 |
min-width: var(--pf-v6-c-truncate__start--MinWidth); |
| 28 |
} |
| 29 |
|
| 30 |
.pf-v6-c-truncate__end { |
| 31 |
direction: rtl; |
| 32 |
} |
| 33 |
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-truncate__end { |
| 34 |
direction: ltr; |
| 35 |
} |
| 36 |
|
| 37 |
.pf-v6-c-truncate__start + .pf-v6-c-truncate__end { |
| 38 |
overflow: visible; |
| 39 |
direction: ltr; |
| 40 |
} |
| 41 |
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-truncate__start + .pf-v6-c-truncate__end { |
| 42 |
direction: rtl; |
| 43 |
} |
| 44 |
|
| 45 |
@supports (-webkit-hyphens: none) { |
| 46 |
.pf-v6-c-truncate__end { |
| 47 |
direction: ltr; |
| 48 |
} |
| 49 |
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-truncate__end { |
| 50 |
direction: rtl; |
| 51 |
} |
| 52 |
} |