| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
.ct-listing-panel { |
| 3 |
display: flex; |
| 4 |
flex-wrap: wrap; |
| 5 |
|
| 6 |
&-actions { |
| 7 |
order: 2; |
| 8 |
flex-grow: 1; |
| 9 |
padding-block: var(--pf-t--global--spacer--sm); |
| 10 |
padding-inline: var(--pf-t--global--spacer--md) var(--pf-t--global--spacer--lg); |
| 11 |
} |
| 12 |
|
| 13 |
&-caption { |
| 14 |
margin-inline-start: auto; |
| 15 |
} |
| 16 |
|
| 17 |
&-tabs { |
| 18 |
flex-grow: 1; |
| 19 |
order: 1; |
| 20 |
} |
| 21 |
|
| 22 |
.pf-v6-c-tab-content { |
| 23 |
order: 3; |
| 24 |
flex-basis: 100%; |
| 25 |
} |
| 26 |
|
| 27 |
&-body { |
| 28 |
// Add some sizing to the body |
| 29 |
padding-block: var(--pf-t--global--spacer--md); |
| 30 |
padding-inline: var(--pf-t--global--spacer--lg); |
| 31 |
inline-size: 100%; |
| 32 |
|
| 33 |
// Containing hack part 1 |
| 34 |
float: inline-start; |
| 35 |
|
| 36 |
&::after { |
| 37 |
// Containing hack part 2: Clearfix CSS hack, |
| 38 |
// to allow children content to float fine without setting overflow |
| 39 |
content: ""; |
| 40 |
clear: both; |
| 41 |
display: table; |
| 42 |
} |
| 43 |
} |
| 44 |
} |
| 45 |
|
| 46 |
.ct-table { |
| 47 |
> tbody > .pf-v6-c-table__expandable-row { |
| 48 |
// Don't scroll table's expanded contents vertically. |
| 49 |
// Instead, rely on page scrolling. |
| 50 |
// Important for mobile; also useful for desktop. |
| 51 |
overflow-block: visible !important; |
| 52 |
max-block-size: unset !important; |
| 53 |
} |
| 54 |
} |