Add default styles to containers to improve component layouts

This commit is contained in:
Andrew Kingston 2021-06-10 10:20:47 +01:00
parent 2124c85a09
commit d777cbf5b1
1 changed files with 9 additions and 2 deletions

View File

@ -36,12 +36,19 @@
.empty { .empty {
border: 2px dashed rgba(0, 0, 0, 0.25); border: 2px dashed rgba(0, 0, 0, 0.25);
} }
.direction-row { .direction-row,
.direction-column {
display: flex; display: flex;
max-width: 100%;
}
.direction-row :global(*),
.direction-column :global(*) {
max-width: 100%;
}
.direction-row {
flex-direction: row; flex-direction: row;
} }
.direction-column { .direction-column {
display: flex;
flex-direction: column; flex-direction: column;
} }