Skip to content

Commit

Permalink
Add message button before first message with warning if not user
Browse files Browse the repository at this point in the history
  • Loading branch information
codewithcheese committed Jul 18, 2024
1 parent 9c9e4cf commit 2d0e3f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/(app)/chat/[id]/revise/MessageDivider.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="relative flex-shrink-0">
<Button
onclick={() => handleInsertMessage(index)}
class="invisible absolute -left-2 -top-2 h-4 w-4 border border-gray-300 bg-white p-0 text-gray-800 shadow-sm transition-all hover:bg-gray-100 group-hover:visible"
class="invisible absolute -left-3 -top-3 h-6 w-6 border border-gray-300 bg-white p-0 text-gray-800 shadow-sm transition-all delay-100 ease-in hover:bg-gray-100 group-hover:visible"
>
<PlusIcon class="h-4 w-4" />
</Button>
Expand All @@ -37,7 +37,7 @@
<div class="relative flex-shrink-0">
<Button
onclick={() => handleInsertMessage(index)}
class="invisible absolute -left-2 -top-2 h-4 w-4 border border-gray-300 bg-white p-0 text-gray-800 shadow-sm transition-all hover:bg-gray-100 group-hover:visible"
class="invisible absolute -left-3 -top-3 h-6 w-6 border border-gray-300 bg-white p-0 text-gray-800 shadow-sm transition-all delay-100 ease-in hover:bg-gray-100 group-hover:visible"
>
<PlusIcon class="h-4 w-4" />
</Button>
Expand Down

0 comments on commit 2d0e3f8

Please sign in to comment.