调整页面布局,修复滚动和高度问题
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 18s
Docker Build & Deploy / Deploy to Production (push) Successful in 5s

This commit is contained in:
孙诚
2025-12-29 11:14:29 +08:00
parent be4e303ba5
commit 35e3a82673
4 changed files with 20 additions and 5 deletions

View File

@@ -10,6 +10,10 @@ html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden; /* 禁止 body 滚动 */
position: fixed; /* 强制固定 body防止 iOS 回弹 */
left: 0;
top: 0;
}
body {
@@ -24,7 +28,7 @@ body {
font-weight: normal;
width: 100%;
height: 100%;
overflow-x: hidden;
overflow: hidden; /* 禁止 app 容器滚动 */
-webkit-overflow-scrolling: touch;
}