From 53135d4a9e17fb1f1d9f165b0bec52993ebaae69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Tue, 6 Feb 2024 09:44:56 +0100 Subject: [PATCH] style(webui): upload progress bar spacing, hide add button --- webui/src/lib/components/AddModal.svelte | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/webui/src/lib/components/AddModal.svelte b/webui/src/lib/components/AddModal.svelte index 47a8db5..ba826a4 100644 --- a/webui/src/lib/components/AddModal.svelte +++ b/webui/src/lib/components/AddModal.svelte @@ -110,9 +110,11 @@ {/if} {/each} -
- addEmitter.emit('choose')} /> -
+ {#if !uploading} +
+ addEmitter.emit('choose')} /> +
+ {/if}
@@ -224,11 +226,7 @@ } .progress { - margin-top: 1rem; + margin-top: 0.5rem; margin-bottom: 0.5rem; } - - .entry .progress { - margin-bottom: 1.5rem; - }