summaryrefslogtreecommitdiffhomepage
path: root/src/features/surface-host/ui
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-28 20:44:53 +0900
committerAdam Malczewski <[email protected]>2026-06-28 20:44:53 +0900
commit5c5e43ab068e9b70ecb81e4414ea5460ec8d2510 (patch)
tree1ebbedaec494198a1a653f3497f2290dbc10d89e /src/features/surface-host/ui
parente5c01aa3640ac430155d96e9802dd523fe461319 (diff)
downloaddispatch-web-5c5e43ab068e9b70ecb81e4414ea5460ec8d2510.tar.gz
dispatch-web-5c5e43ab068e9b70ecb81e4414ea5460ec8d2510.zip
fix(ui): shrink tabs to 40vh and tasks to 30vh fixed height
Diffstat (limited to 'src/features/surface-host/ui')
-rw-r--r--src/features/surface-host/ui/TodoList.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/surface-host/ui/TodoList.svelte b/src/features/surface-host/ui/TodoList.svelte
index 30cdf8f..cffefde 100644
--- a/src/features/surface-host/ui/TodoList.svelte
+++ b/src/features/surface-host/ui/TodoList.svelte
@@ -6,10 +6,10 @@
const data = $derived(parseTodoPayload(payload));
</script>
-<!-- Fixed at 60% of the viewport height so the region is consistent whether the
+<!-- Fixed at 30% of the viewport height so the region is consistent whether the
list is empty or overflowing — it always reserves the space and scrolls
internally (mirrors the tabs view). -->
-<ul class="flex h-[60vh] flex-col gap-1 overflow-y-auto pr-1">
+<ul class="flex h-[30vh] flex-col gap-1 overflow-y-auto pr-1">
{#if data !== null && data.todos.length > 0}
{#each data.todos as todo, i (i)}
<li class="flex items-start gap-2 rounded-box bg-base-200 px-3 py-2 text-sm">