fix: task-tree 占满 task-tree-boundary(#2369 补充)

.task-tree-boundary 设 height:100% 继承父格高度;
.task-tree 移除 max-height:min(54dvh,560px) 上限,
改用 height:100% 占满可用空间。
This commit is contained in:
UniDesk Codex
2026-07-04 00:41:36 +08:00
parent ecc4f5ea68
commit dfc4f2a064
@@ -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; }