feat(ui): 适配手机端布局与触控交互

窄屏改用抽屉导航和卡片列表,加大触控区域并处理安全区,避免表格横向溢出。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-29 21:55:10 +08:00
co-authored by Cursor
parent 3535f56702
commit d981e53330
29 changed files with 519 additions and 202 deletions
+12
View File
@@ -45,6 +45,8 @@
html,
body {
height: 100%;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
body {
@@ -52,6 +54,16 @@ body {
color: var(--color-foreground);
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
/* 避免 iOS 聚焦输入框时自动放大(需 ≥16px) */
@media (max-width: 767px) {
input,
select,
textarea {
font-size: 16px;
}
}
/* 细滚动条 */