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 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
class="drag group"
on:mouseenter={dashAnimationStart}
@ -71,6 +75,8 @@
@apply flex flex-col items-center justify-center;
border-radius: 9px;
@apply hover:cursor-pointer;
/* TODO: Fix this hack */
@apply p-10 sm:p-20 md:p-0;
}