Fix flex-grow (#187)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov 2021-09-12 19:23:43 +03:00 committed by GitHub
parent a6f81f8ba1
commit 8aa6c6305f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,9 +177,6 @@
} }
.content { .content {
overflow: visible; overflow: visible;
flex-shrink: 0;
flex-grow: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 1.5rem 2.5rem; padding: 1.5rem 2.5rem;
@ -189,6 +186,7 @@
background-color: var(--theme-bg-accent-color); background-color: var(--theme-bg-accent-color);
&.header { border-bottom: none; } &.header { border-bottom: none; }
&.content { &.content {
flex-grow: 1;
padding-bottom: 0; padding-bottom: 0;
background-color: var(--theme-bg-accent-color); background-color: var(--theme-bg-accent-color);
} }
@ -205,12 +203,16 @@
} }
.leftSection { .leftSection {
border-right: 1px solid var(--theme-bg-accent-hover); border-right: 1px solid var(--theme-bg-accent-hover);
.content { margin-top: 2.5rem; } .content {
flex-grow: 1;
margin-top: 2.5rem;
}
} }
.rightSection { .rightSection {
background-color: transparent; background-color: transparent;
.header { border-bottom: 1px solid var(--theme-card-divider); } .header { border-bottom: 1px solid var(--theme-card-divider); }
.content { .content {
flex-grow: 1;
padding-top: 2.5rem; padding-top: 2.5rem;
padding-bottom: 0; padding-bottom: 0;
background-color: var(--theme-bg-accent-color); background-color: var(--theme-bg-accent-color);