修复手机端无法滚动:添加 viewport meta 标签并在移动端允许根容器垂直滚动

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
AmandaloveYang
2026-05-12 10:06:12 +08:00
co-authored by Claude Opus 4.7
parent c56c490b60
commit ff4c8b0139
2 changed files with 11 additions and 0 deletions
@@ -120,3 +120,13 @@
background: #dbeafe;
filter: saturate(0.95) brightness(1.12);
}
/* ── Mobile: allow vertical scrolling ── */
@media (max-width: 768px) {
.root {
overflow: auto;
height: auto;
min-height: 100vh;
width: 100%;
}
}