fix:修改屏幕适配的代码

This commit is contained in:
MTrun
2022-03-02 16:18:34 +08:00
parent b691003187
commit 862753d35e
2 changed files with 19 additions and 17 deletions
+19
View File
@@ -83,3 +83,22 @@
opacity: 1;
}
}
/* 小屏处理 0~1000*/
.mobile-terminal {
display: none;
}
@media (max-width: 1000px) {
#app {
display: none;
}
.mobile-terminal {
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
font-size: 30px;
background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}
}