partitioncloud-server/partitioncloud/static/mobile.css
augustin64 031f2af91f This solution might be simpler...
...and might not need a complete rewrite of the whole CSS
2023-09-30 00:33:09 +02:00

23 lines
488 B
CSS

@media (max-width: 750px) {
:root {
--sidebar-size: 75vw;
}
#content {
min-width: calc(100vw - 100px);
}
/* Make content not scrollable (vertically),
do not collapse thing in a ridiculously small space */
#content-container, #footer {
overflow: hidden;
min-width: 90vw;
position: fixed;
transition: all 0.5s ease;
}
input:checked#slide-sidebar~#content-container {
position: initial;
}
}