2026-10-03 18:40:34 -04:00
|
|
|
.shell {
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 100dvh;
|
|
|
|
|
display: flex;
|
|
|
|
|
background: var(--color-bg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.main {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* The bottom bar overlays the last 94 px of the screen (plus the safe area),
|
|
|
|
|
so the scroll area reserves at least 100 px beneath its content. */
|
|
|
|
|
.mobile .main {
|
|
|
|
|
padding: 0 20px;
|
|
|
|
|
padding-bottom: calc(100px + env(safe-area-inset-bottom));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tablet .main,
|
|
|
|
|
.desktop .main {
|
|
|
|
|
padding: 32px 36px;
|
|
|
|
|
}
|
2026-10-10 23:35:24 -04:00
|
|
|
|
|
|
|
|
/* An upright tablet (820 px wide) leaves 724 px beside the rail; slimmer side
|
|
|
|
|
padding gives the page a little more of it. */
|
|
|
|
|
.tablet.portrait .main {
|
|
|
|
|
padding: 32px 28px;
|
|
|
|
|
}
|