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 c412af8766
commit 72088a8414
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;
} }