优化小屏幕使用体验

This commit is contained in:
sijinhui
2024-02-16 17:12:40 +08:00
parent afa75796d7
commit 3abb503cec
3 changed files with 27 additions and 6 deletions

View File

@@ -67,7 +67,7 @@
--full-height: 100%;
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 800px) {
:root {
--window-width: 100vw;
--window-height: var(--full-height);
@@ -389,4 +389,4 @@ pre {
url('https://cos.xiaosi.cc/fonts/noto-sans/noto-sans-regular.woff') format('woff'), /* Modern Browsers */
url('https://cos.xiaosi.cc/fonts/noto-sans/noto-sans-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('https://cos.xiaosi.cc/fonts/noto-sans/noto-sans-regular.svg#NotoSans') format('svg'); /* Legacy iOS */
}
}