diff --git a/frontend/src/lib/components/dashboard/DashboardUploadCard.svelte b/frontend/src/lib/components/dashboard/DashboardUploadCard.svelte index 6797ad3..b525e8d 100644 --- a/frontend/src/lib/components/dashboard/DashboardUploadCard.svelte +++ b/frontend/src/lib/components/dashboard/DashboardUploadCard.svelte @@ -1,6 +1,6 @@
@@ -144,24 +151,19 @@
{:else}
- onFileDrop(e.detail.files)} on:filedragenter={dashAnimationStart} on:filedragleave={dashAnimationStop} + class="drag group" + on:mouseenter={dashAnimationStart} + on:mouseleave={dashAnimationStop} + style={`background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='9' ry='9' stroke-opacity='50%' stroke='%23406280' stroke-width='4' stroke-dasharray='10' stroke-dashoffset='${dashAnimationProgress}' stroke-linecap='square'/%3e%3c/svg%3e");`} > -
- Sem přetáhněte, - nebo nahrajte {placeholder} -
-
+ Sem přetáhněte, + nebo nahrajte {placeholder} +
{/if} @@ -199,7 +201,7 @@ @apply p-7; } .uploaded { - @apply 2xl:px-14 ; + @apply 2xl:px-14; } .card h3 { @apply text-sspsBlue text-2xl font-semibold xl:text-4xl;