summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-28 19:32:02 +0900
committerAdam Malczewski <[email protected]>2026-06-28 19:32:02 +0900
commit9287b26d8faebbbc7b488157096f4ed43a506d92 (patch)
tree96b32b443103286f9d58d94eaf340289fcc1ae0e /src
parentbce51318295bd8608c27c530566ab8a6eb0cb9f9 (diff)
downloaddispatch-web-9287b26d8faebbbc7b488157096f4ed43a506d92.tar.gz
dispatch-web-9287b26d8faebbbc7b488157096f4ed43a506d92.zip
fix(tasks): fixed height 60vh with scrollbar on overflow
Diffstat (limited to 'src')
-rw-r--r--src/features/surface-host/ui/TodoList.svelte4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/features/surface-host/ui/TodoList.svelte b/src/features/surface-host/ui/TodoList.svelte
index e9b1b58..466cc2d 100644
--- a/src/features/surface-host/ui/TodoList.svelte
+++ b/src/features/surface-host/ui/TodoList.svelte
@@ -7,7 +7,9 @@
</script>
{#if data !== null && data.todos.length > 0}
- <ul class="flex flex-col gap-1">
+ <!-- Fixed at 60% of the viewport height so a long task list scrolls inside
+ this region instead of growing the whole sidebar (mirrors the tabs view). -->
+ <ul class="flex h-[60vh] flex-col gap-1 overflow-y-auto pr-1">
{#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">
<!-- Status indicator -->