fix: keep the container spanning the whole width to fix scroll bar issue

This commit is contained in:
Imad Saddik 2026-03-15 17:39:19 +00:00
parent c399ec3c46
commit fa7d3a96c5
1 changed files with 5 additions and 2 deletions

View File

@ -353,7 +353,7 @@
<div
bind:this={chatScrollContainer}
aria-label="Chat interface with file drop zone"
class="flex h-full flex-col overflow-y-auto px-4 md:px-6 {widthClasses.class} mx-auto"
class="flex h-full flex-col overflow-y-auto px-4 md:px-6"
ondragenter={handleDragEnter}
ondragleave={handleDragLeave}
ondragover={handleDragOver}
@ -377,7 +377,10 @@
<ChatScreenProcessingInfo />
{#if hasPropsError}
<div class="pointer-events-auto mx-auto mb-4 px-1" in:fly={{ y: 10, duration: 250 }}>
<div
class="pointer-events-auto mx-auto mb-4 {widthClasses.class} px-1"
in:fly={{ y: 10, duration: 250 }}
>
<Alert.Root variant="destructive">
<AlertTriangle class="h-4 w-4" />
<Alert.Title class="flex items-center justify-between">