enh: drag and drop chat to pin

This commit is contained in:
Timothy J. Baek
2024-10-15 02:12:39 -07:00
parent b01f9e8ec3
commit 2f4c04055c
4 changed files with 195 additions and 101 deletions
+4 -3
View File
@@ -22,8 +22,9 @@
<div
bind:this={popupElement}
class=" absolute text-white z-[99999]"
style="top: {y}px; left: {x}px;"
class="fixed top-0 left-0 w-screen h-[100dvh] z-50 touch-none pointer-events-none"
>
<slot></slot>
<div class=" absolute text-white z-[99999]" style="top: {y}px; left: {x}px;">
<slot></slot>
</div>
</div>