Skip to content

Commit

Permalink
move attachment preview to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Dec 7, 2024
1 parent 1270122 commit 97ab1d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/lib/components/ChatBoxAndWidget.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
</div>

<Card class="bg-zinc-800/50 border-0 overflow-hidden">
{#if $sessionUploadItems$.length > 0}
<ChatBoxAttachmentPreview />
{/if}

<div class="flex items-center p-2">
<div class="flex-1">
<textarea
Expand Down Expand Up @@ -84,10 +88,6 @@
</div>
</slot>
</div>

{#if $sessionUploadItems$.length > 0}
<ChatBoxAttachmentPreview />
{/if}
</Card>

<slot name="examples">
Expand Down

0 comments on commit 97ab1d5

Please sign in to comment.