summaryrefslogtreecommitdiffhomepage
path: root/src/app/views
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-10-15 09:49:58 +0900
committerAdam Malczewski <[email protected]>2026-10-15 09:49:58 +0900
commit69b69730ca97a164462c842dfc861e8f28692c81 (patch)
treeedb27f6715bd0cf813e83f0141008c7e74642d77 /src/app/views
parent391ddcfeb833d5ff06a1dfe35261648332f2bcda (diff)
downloaddispatch-web-69b69730ca97a164462c842dfc861e8f28692c81.tar.gz
dispatch-web-69b69730ca97a164462c842dfc861e8f28692c81.zip
fix(chat): keep the transcript gutter inside the scroller so overlay scrollbars (iPadOS WebKit) never paint over cards
Diffstat (limited to 'src/app/views')
-rw-r--r--src/app/views/ChatPane.svelte10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/app/views/ChatPane.svelte b/src/app/views/ChatPane.svelte
index 1c04b9f..636cd7c 100644
--- a/src/app/views/ChatPane.svelte
+++ b/src/app/views/ChatPane.svelte
@@ -63,9 +63,15 @@
});
</script>
-<div class="relative h-full pr-4">
+<div class="relative h-full">
+ <!-- The right gutter lives INSIDE the scroller (on the content), not outside
+ it: overlay scrollbars (iOS/iPadOS WebKit — Safari, Vivaldi, …; macOS)
+ take no layout space and paint over the scroller's right edge, so with
+ the gutter outside they drew on top of the tool/thinking cards. Now the
+ scroller spans to the pane edge and its scrollbar sits in the empty
+ gutter, clear of the content (classic scrollbars likewise). -->
<div bind:this={transcriptEl} class="h-full overflow-y-auto">
- <div bind:this={transcriptContentEl}>
+ <div bind:this={transcriptContentEl} class="pr-4">
{#key store.activeConversationId}
<ChatView
chunks={store.activeChat.chunks}