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; }