refac: dragged overlay behaviour to only activate for files

This commit is contained in:
Timothy J. Baek
2024-10-14 21:03:55 -07:00
parent f8bb77324d
commit 93dab86e8d
4 changed files with 23 additions and 20 deletions

View File

@@ -90,7 +90,7 @@
<ShareChatModal bind:show={showShareChatModal} chatId={chat.id} />
<div class=" w-full pr-2 relative group">
<div class=" w-full pr-2 relative group" draggable="true">
{#if confirmEdit}
<div
class=" w-full flex justify-between rounded-xl px-3 py-2 {chat.id === $chatId || confirmEdit