join/src/app/app.component.scss
2024-03-30 13:24:03 +01:00

59 lines
895 B
SCSS

.container {
display: flex;
height: 100vh;
}
app-sidebar {
width: 232px;
height: 100%;
}
app-sidebar-mobile {
display: none;
position: fixed;
bottom: 0;
width: 100%;
height: 80px;
}
main {
display: flex;
flex-direction: column;
height: 100vh;
}
app-header {
height: 96px;
width: 100%;
background-color: var(--white);
}
.main-content {
width: calc(100% - 128px);
min-width: calc(100vw - 232px - 64px);
height: 100vh;
padding: 64px 0 0 64px;
background-color: var(--bgContent);
overflow-y: auto;
}
@media screen and (max-width: 910px) {
.main-content {
width: calc(100vw - 64px);
height: calc(100vh - 240px);
padding: 32px;
}
app-sidebar {
display: none;
}
app-sidebar-mobile {
display: unset;
}
}
@media screen and (max-width: 450px) {
.main-content {
width: calc(100vw - 32px);
padding: 32px 16px;
}
}