mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-28 11:39:23 +08:00
feat: collapsible sidebar
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user