schlechtenburg/packages/layout/lib/style.scss

22 lines
241 B
SCSS

.sb-layout {
display: flex;
&_vertical {
flex-direction: column;
}
&_horizontal {
flex-direction: row;
}
&__item {
position: relative;
}
> * {
flex-basis: auto;
flex-grow: 1;
flex-shrink: 1;
}
}