summaryrefslogtreecommitdiffhomepage
path: root/src/features/tabs/ui
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-28 19:14:26 +0900
committerAdam Malczewski <[email protected]>2026-06-28 19:14:26 +0900
commitce676cf89b7b1ba18deaf14c6f4b527895743380 (patch)
treee8631c174e0e99ff669bb4ec56c09bdfd0d83a0c /src/features/tabs/ui
parentfb891ec40d8d81dca0a215e67e64f2aea3895ddd (diff)
downloaddispatch-web-ce676cf89b7b1ba18deaf14c6f4b527895743380.tar.gz
dispatch-web-ce676cf89b7b1ba18deaf14c6f4b527895743380.zip
fix(tabs): fixed height 60vh with scrollbar on overflow
Diffstat (limited to 'src/features/tabs/ui')
-rw-r--r--src/features/tabs/ui/TabList.svelte7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/features/tabs/ui/TabList.svelte b/src/features/tabs/ui/TabList.svelte
index 08a3274..32cd6a4 100644
--- a/src/features/tabs/ui/TabList.svelte
+++ b/src/features/tabs/ui/TabList.svelte
@@ -83,10 +83,9 @@
</script>
<div class="flex flex-col gap-2">
- <!-- Single-column vertical tab list. Capped at 80% of the viewport height
- so a long tab set scrolls inside this region instead of growing the
- whole sidebar. -->
- <div class="flex max-h-[80vh] flex-col gap-1 overflow-y-auto pr-1">
+ <!-- Single-column vertical tab list. Fixed at 60% of the viewport height so a
+ long tab set scrolls inside this region instead of growing the whole sidebar. -->
+ <div class="flex h-[60vh] flex-col gap-1 overflow-y-auto pr-1">
{#each tabs as tab (tab.conversationId)}
<div
class="flex items-center gap-1.5 rounded px-2 py-1.5 text-sm hover:bg-base-200"