From c8904fd939c2540993961fa71852677b99253886 Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 13 Aug 2024 16:48:53 +0600 Subject: [PATCH] web/FileReceiver: reduce icon size, change icon when dragged over --- web/src/components/misc/FileReceiver.svelte | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/web/src/components/misc/FileReceiver.svelte b/web/src/components/misc/FileReceiver.svelte index 4d258550..4abf39c0 100644 --- a/web/src/components/misc/FileReceiver.svelte +++ b/web/src/components/misc/FileReceiver.svelte @@ -2,7 +2,8 @@ import { t } from "$lib/i18n/translations"; import Meowbalt from "$components/misc/Meowbalt.svelte"; - import IconFileUpload from "@tabler/icons-svelte/IconFileUpload.svelte"; + import IconFileImport from "@tabler/icons-svelte/IconFileImport.svelte"; + import IconUpload from "@tabler/icons-svelte/IconUpload.svelte"; export let file: File | undefined; export let draggedOver = false; @@ -38,7 +39,11 @@
- + {#if draggedOver} + + {:else} + + {/if}
@@ -60,10 +65,11 @@