ui: 移动端触控基线与板块重排(按钮32-36/输入38/弹窗按钮40;出勤2x2;计划操作等宽;记账工具栏分区;导出铺满;底栏56)
This commit is contained in:
@@ -147,7 +147,7 @@ onUnmounted(() => {
|
||||
.tp {
|
||||
left: 12px;
|
||||
right: 12px;
|
||||
bottom: calc(66px + env(safe-area-inset-bottom));
|
||||
bottom: calc(64px + env(safe-area-inset-bottom));
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163,4 +163,8 @@ function save() {
|
||||
.dialog { width: 480px; }
|
||||
.add-cat { display: flex; gap: 6px; margin-top: 6px; }
|
||||
.add-cat-input { flex: 1; height: 28px; font-size: 12px; }
|
||||
@media (max-width: 720px) {
|
||||
.add-cat-input { height: 34px; }
|
||||
.add-cat .btn { height: 34px; }
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -452,7 +452,15 @@ async function confirmDelete() {
|
||||
}
|
||||
.dp-foot { margin-top: 10px; font-size: 12px; text-align: right; }
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.att-grid { grid-template-columns: 1fr; }
|
||||
@media (max-width: 720px) {
|
||||
.dp-head { margin-bottom: 10px; }
|
||||
.att-grid { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
|
||||
.att-cell label { margin-bottom: 3px; }
|
||||
.att-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
||||
.att-actions .btn { width: 100%; }
|
||||
.edit-row { flex-wrap: wrap; }
|
||||
.edit-row .time-input { width: 100%; flex: 1 1 100%; }
|
||||
.edit-row .btn { flex: 1; }
|
||||
.item-main { gap: 6px; }
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user