node/@patternfly/patternfly/layouts/Stack/stack.scss
raw| 1 | @use '../../sass-utilities' as *; |
| 2 | |
| 3 | @include pf-root($stack) { |
| 4 | --#{$stack}--m-gutter--Gap: var(--pf-t--global--spacer--gutter--default); |
| 5 | } |
| 6 | |
| 7 | .#{$stack} { |
| 8 | display: flex; |
| 9 | flex-direction: column; |
| 10 | height: 100%; |
| 11 | |
| 12 | @at-root .#{$stack}__item.pf-m-fill, |
| 13 | & > .pf-m-fill { |
| 14 | flex-grow: 1; |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | .#{$stack}.pf-m-gutter { |
| 19 | gap: var(--#{$stack}--m-gutter--Gap); |
| 20 | } |