summaryrefslogtreecommitdiffhomepage
path: root/src/app
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-28 20:15:10 +0900
committerAdam Malczewski <[email protected]>2026-06-28 20:15:10 +0900
commitb22c6c6e897fc8ad48c6a21c8034973f40a5f1a1 (patch)
tree52a70da66803b687ee684b4e243858e7c8589b0d /src/app
parent4d1269a52feefc39113caf3e4148195570e24fb5 (diff)
downloaddispatch-web-b22c6c6e897fc8ad48c6a21c8034973f40a5f1a1.tar.gz
dispatch-web-b22c6c6e897fc8ad48c6a21c8034973f40a5f1a1.zip
fix(tasks): keep fixed 60vh height even with 0 tasks
Diffstat (limited to 'src/app')
-rw-r--r--src/app/App.svelte9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/app/App.svelte b/src/app/App.svelte
index b2cfd2d..7e5ac7d 100644
--- a/src/app/App.svelte
+++ b/src/app/App.svelte
@@ -773,13 +773,10 @@
/>
{/key}
{:else if kind === "tasks"}
- <!-- Re-mount per conversation so the task list is isolated per conversation. -->
+ <!-- Re-mount per conversation so the task list is isolated per conversation.
+ TodoList always reserves its fixed 60vh height (empty or full). -->
{#key store.activeConversationId}
- {#if todoData !== null && todoData.todos.length > 0}
- <TodoList payload={todoData} />
- {:else}
- <p class="text-xs opacity-60">No tasks yet.</p>
- {/if}
+ <TodoList payload={todoData} />
{/key}
{:else if kind === "compaction"}
<!-- Message compaction is per-conversation (keyed so the percent + feedback