feat: initial implementation of responsive app panes (#1198)

This commit is contained in:
Aman Harwara
2022-07-04 21:20:28 +05:30
committed by GitHub
parent 38725daeb9
commit 21ea2ec7a1
20 changed files with 336 additions and 186 deletions

View File

@@ -1,16 +1,50 @@
.app-column-container {
display: grid;
grid-template-columns: auto auto 2fr;
display: flex;
flex-direction: column;
@media screen and (min-width: 768px) {
display: grid;
grid-template-rows: auto;
grid-template-columns: auto auto 2fr;
}
}
.app-column-first {
width: 220px;
@media screen and (max-width: 768px) {
width: 100% !important;
}
}
.app-column-second {
width: 350px;
@media screen and (max-width: 768px) {
width: 100% !important;
}
}
.app-column {
overflow: hidden;
.content {
height: 100%;
}
@media screen and (max-width: 768px) {
&.selected {
flex-grow: 1;
.content {
height: 100%;
overflow-y: auto;
}
}
&:not(.selected) {
height: auto;
border-bottom: 1px solid var(--sn-stylekit-border-color);
}
}
}