refactor: mobile friendly

This commit is contained in:
Tristan Yang
2023-02-21 20:49:30 +08:00
parent 13843c65dd
commit 44ef3d7b25
8 changed files with 57 additions and 50 deletions
+10
View File
@@ -127,6 +127,16 @@
width: 100%;
height: 100%;
}
/* iOS safari */
@supports (-webkit-touch-callout: none) {
body {
height: -webkit-fill-available;
}
.h-screen {
height: -webkit-fill-available !important ;
overflow: auto;
}
}
/* iframe 样式覆盖 */
body.iframe {
position: fixed;