From dfc4f2a064b3a8c330e56a1a58a0b7a49bc6d187 Mon Sep 17 00:00:00 2001 From: UniDesk Codex Date: Sat, 4 Jul 2026 00:41:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20task-tree=20=E5=8D=A0=E6=BB=A1=20task-tr?= =?UTF-8?q?ee-boundary=EF=BC=88#2369=20=E8=A1=A5=E5=85=85=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .task-tree-boundary 设 height:100% 继承父格高度; .task-tree 移除 max-height:min(54dvh,560px) 上限, 改用 height:100% 占满可用空间。 --- web/hwlab-cloud-web/src/components/mdtodo/MdtodoTaskTree.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/hwlab-cloud-web/src/components/mdtodo/MdtodoTaskTree.vue b/web/hwlab-cloud-web/src/components/mdtodo/MdtodoTaskTree.vue index 2891a33a..c1ac62ec 100644 --- a/web/hwlab-cloud-web/src/components/mdtodo/MdtodoTaskTree.vue +++ b/web/hwlab-cloud-web/src/components/mdtodo/MdtodoTaskTree.vue @@ -107,8 +107,8 @@ function toggleTask(task: MdtodoTaskRecord): void { .task-refresh-dot { width: 13px; height: 13px; border: 2px solid #b7e4df; border-top-color: #0f766e; border-radius: 999px; animation: task-refresh-spin 0.8s linear infinite; } .task-tools { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) minmax(96px, 0.55fr); gap: 6px; } .task-tools input, .task-tools select { width: 100%; min-width: 0; height: 30px; border: 1px solid #cbd6dd; border-radius: 6px; background: #fff; color: #111827; padding: 0 8px; font: inherit; font-size: 12px; } -.task-tree-boundary { display: grid; min-height: 0; } -.task-tree { display: grid; min-height: 0; max-height: min(54dvh, 560px); align-content: start; gap: 1px; overflow: auto; border-top: 1px solid #e3e9ee; padding-top: 2px; } +.task-tree-boundary { display: grid; min-width: 0; min-height: 0; height: 100%; } +.task-tree { display: grid; min-width: 0; min-height: 0; height: 100%; align-content: start; gap: 1px; overflow: auto; border-top: 1px solid #e3e9ee; padding-top: 2px; } .task-tree[data-refreshing="true"] { border-top-color: #b7e4df; } .task-row-shell { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 4px; align-items: center; } .task-toggle { width: 24px; height: 24px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #52616b; font-weight: 850; line-height: 1; }