feat: collapsible sidebar

This commit is contained in:
Dakai
2023-04-16 11:20:43 +08:00
parent e0f6c801d5
commit 37c62e1b7e
8 changed files with 401 additions and 106 deletions

View File

@@ -59,8 +59,10 @@
--window-width: 90vw;
--window-height: 90vh;
--sidebar-width: 300px;
--sidebar-collapse-width: 75px;
--window-content-width: calc(100% - var(--sidebar-width));
--message-max-width: 80%;
--window-content-width-collapse: calc(100% - var(--sidebar-collapse-width));
--message-max-width: 90%;
--full-height: 100%;
}
@@ -103,6 +105,7 @@ body {
@media only screen and (max-width: 600px) {
background-color: var(--second);
--sidebar-width: 100vw;
}
}