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
commit5bab0a158c13af474a4bd6ca3e1eefe8ce7a3924 (patch)
tree0fc0045a98f616280ccf7a0a3205673df706f5fb /src/app
parent9287b26d8faebbbc7b488157096f4ed43a506d92 (diff)
downloaddispatch-web-5bab0a158c13af474a4bd6ca3e1eefe8ce7a3924.tar.gz
dispatch-web-5bab0a158c13af474a4bd6ca3e1eefe8ce7a3924.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