From c9aba85bfa04e69dec489ff575ca62311f9b7384 Mon Sep 17 00:00:00 2001 From: Pavel Laptev Date: Wed, 1 May 2024 01:10:22 +0200 Subject: [PATCH] Some design updates (#3649) * CSS: badge size update * close modal when remove the project --- app/src/lib/components/Badge.svelte | 2 +- app/src/lib/components/RemoveProjectButton.svelte | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/lib/components/Badge.svelte b/app/src/lib/components/Badge.svelte index 80e8bfa9f..67c141dee 100644 --- a/app/src/lib/components/Badge.svelte +++ b/app/src/lib/components/Badge.svelte @@ -5,7 +5,7 @@ export let help = ''; -
+
{count}
diff --git a/app/src/lib/components/RemoveProjectButton.svelte b/app/src/lib/components/RemoveProjectButton.svelte index ea098cfa1..7cc777daf 100644 --- a/app/src/lib/components/RemoveProjectButton.svelte +++ b/app/src/lib/components/RemoveProjectButton.svelte @@ -48,7 +48,9 @@ reversedDirection loading={isDeleting} icon="bin-small" - on:click={onDeleteClicked}>Remove { + onDeleteClicked().then(close); + }}>Remove