fix: 修复在手机浏览器高度样式问题

This commit is contained in:
Dogtiti
2023-03-31 19:21:11 +08:00
parent eb586ba361
commit 5f7a264e52
2 changed files with 4 additions and 5 deletions

View File

@@ -53,7 +53,7 @@
--sidebar-width: 300px;
--window-content-width: calc(100% - var(--sidebar-width));
--message-max-width: 80%;
--full-height: 100vh;
--full-height: 100%;
}
@media only screen and (max-width: 600px) {
@@ -75,6 +75,9 @@
@include dark;
}
}
html {
height: var(--full-height);
}
body {
background-color: var(--gray);