fix: keep the container spanning the whole width to fix scroll bar issue
This commit is contained in:
parent
c399ec3c46
commit
fa7d3a96c5
|
|
@ -353,7 +353,7 @@
|
||||||
<div
|
<div
|
||||||
bind:this={chatScrollContainer}
|
bind:this={chatScrollContainer}
|
||||||
aria-label="Chat interface with file drop zone"
|
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}
|
ondragenter={handleDragEnter}
|
||||||
ondragleave={handleDragLeave}
|
ondragleave={handleDragLeave}
|
||||||
ondragover={handleDragOver}
|
ondragover={handleDragOver}
|
||||||
|
|
@ -377,7 +377,10 @@
|
||||||
<ChatScreenProcessingInfo />
|
<ChatScreenProcessingInfo />
|
||||||
|
|
||||||
{#if hasPropsError}
|
{#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">
|
<Alert.Root variant="destructive">
|
||||||
<AlertTriangle class="h-4 w-4" />
|
<AlertTriangle class="h-4 w-4" />
|
||||||
<Alert.Title class="flex items-center justify-between">
|
<Alert.Title class="flex items-center justify-between">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue