mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-27 14:02:14 +00:00
feat: cursor pointer on drag & drop
This commit is contained in:
parent
0214bd3713
commit
35543234ee
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue