|
6 | 6 | }
|
7 | 7 |
|
8 | 8 | // FIXME: Once PF4 provides a property for removing padding: https://github.com/patternfly/patternfly-react/issues/5606
|
9 |
| -.ct-card.pf-v6-c-card .pf-v6-c-card__body.contains-list { |
10 |
| - padding-inline: 0; |
11 |
| - padding-block-end: 0; |
12 |
| - |
13 |
| - > .pf-v6-c-table > :last-child > tr:last-child { |
14 |
| - border-block-end: none; |
15 |
| - } |
16 |
| - |
17 |
| - // Remove excess padding from compact tables toggles |
18 |
| - // And adjust the padding to left align the toggles with the card header |
19 |
| - > .pf-v6-c-table { |
20 |
| - .pf-v6-c-table__toggle { |
21 |
| - padding-inline-start: 0; |
22 |
| - |
23 |
| - > .pf-v6-c-button { |
24 |
| - padding-inline-start: var(--pf-v5-global--spacer--lg); |
25 |
| - } |
26 |
| - } |
27 |
| - } |
28 |
| -} |
| 9 | +// .ct-card.pf-v6-c-card .pf-v6-c-card__body.contains-list { |
| 10 | +// padding-block-end: 0; |
| 11 | + |
| 12 | +// > .pf-v6-c-table > :last-child > tr:last-child { |
| 13 | +// border-block-end: none; |
| 14 | +// } |
| 15 | + |
| 16 | +// // Remove excess padding from compact tables toggles |
| 17 | +// // And adjust the padding to left align the toggles with the card header |
| 18 | +// > .pf-v6-c-table { |
| 19 | +// .pf-v6-c-table__toggle { |
| 20 | +// padding-inline-start: 0; |
| 21 | + |
| 22 | +// > .pf-v6-c-button { |
| 23 | +// padding-inline-start: var(--pf-v5-global--spacer--lg); |
| 24 | +// } |
| 25 | +// } |
| 26 | +// } |
| 27 | +// } |
29 | 28 |
|
30 | 29 | .ct-card.pf-v6-c-card .pf-v6-c-card__title-text {
|
31 | 30 | font-weight: normal;
|
|
34 | 33 |
|
35 | 34 | // Remove excess top padding from top-level empty state in cards,
|
36 | 35 | // as card headers already add enough space
|
37 |
| -.ct-card > .pf-v6-c-card__body > .pf-v6-c-empty-state { |
38 |
| - --pf-v5-c-empty-state__body--MarginTop: 0; |
39 |
| - padding-block: 0 var(--pf-v5-global--spacer--md); |
40 |
| -} |
| 36 | +// .ct-card > .pf-v6-c-card__body > .pf-v6-c-empty-state { |
| 37 | +// --pf-v6-c-empty-state__body--MarginBlockStart: 0; |
| 38 | +// padding-block: 0 var(--pf-t--global--spacer--md); |
| 39 | +// } |
41 | 40 |
|
42 | 41 | .ct-cards-grid {
|
43 | 42 | --ct-grid-columns: 2;
|
|
0 commit comments