feat: cursor pointer on drag & drop

This commit is contained in:
EETagent 2022-11-29 16:56:30 +01:00
parent 0214bd3713
commit 35543234ee

View file

@ -32,7 +32,11 @@
</div> </div>
</div> </div>
<div class="flex-1 mt-6"> <div class="flex-1 mt-6">
<FileDrop on:filedrop={null} on:filedragenter={dashAnimationStart} on:filedragleave={dashAnimationStop}> <FileDrop
on:filedrop={null}
on:filedragenter={dashAnimationStart}
on:filedragleave={dashAnimationStop}
>
<div <div
class="drag group" class="drag group"
on:mouseenter={dashAnimationStart} on:mouseenter={dashAnimationStart}
@ -71,6 +75,8 @@
@apply flex flex-col items-center justify-center; @apply flex flex-col items-center justify-center;
border-radius: 9px; border-radius: 9px;
@apply hover:cursor-pointer;
/* TODO: Fix this hack */ /* TODO: Fix this hack */
@apply p-10 sm:p-20 md:p-0; @apply p-10 sm:p-20 md:p-0;
} }