dont restrict aside width on mobile

This commit is contained in:
Mylloon 2024-12-12 17:52:14 +01:00
parent 9b6d75b560
commit d452d28854
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -3,6 +3,7 @@
:root {
--max-width: 900px;
--sidebar-width: 20%;
--sidebar-padding: 10px;
--shift-icon-filetree: -10px;
/* Size of icon */
@ -12,7 +13,7 @@
main {
max-width: var(--max-width);
padding-inline: calc(var(--sidebar-width) + 10px);
padding-inline: calc(var(--sidebar-width) + var(--sidebar-padding));
}
/* Filetree */
@ -21,7 +22,7 @@ aside {
z-index: 1;
position: absolute;
width: var(--sidebar-width);
padding-inline: 10px;
padding-inline: var(--sidebar-padding);
}
aside ul {
@ -87,6 +88,7 @@ input[type="text"] {
@media only screen and (max-width: 640px) {
aside {
display: none;
width: unset;
}
main {