From 2383cd6472eeeac17c5265403883b13085996a44 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 8 Dec 2024 17:10:01 +0100 Subject: [PATCH] Fix Styles --- src/components/DashboardComponent.svelte | 10 +--- src/components/styled/SWButton.svelte | 18 +++--- src/components/styled/SWModal.svelte | 70 ++++++++---------------- src/pages/index.astro | 2 +- 4 files changed, 36 insertions(+), 64 deletions(-) diff --git a/src/components/DashboardComponent.svelte b/src/components/DashboardComponent.svelte index dc5326a..d3607db 100644 --- a/src/components/DashboardComponent.svelte +++ b/src/components/DashboardComponent.svelte @@ -37,13 +37,9 @@

{t("status.loading")}

{:then user} -
- -
- uploadOpen = true}> - {t("dashboard.schematic.upload")} - -
+ uploadOpen = true}> + {t("dashboard.schematic.upload")} + {:catch error}

error: {error.message}

{/await} diff --git a/src/components/styled/SWButton.svelte b/src/components/styled/SWButton.svelte index ea4bced..a624614 100644 --- a/src/components/styled/SWButton.svelte +++ b/src/components/styled/SWButton.svelte @@ -18,19 +18,17 @@ --> - \ No newline at end of file diff --git a/src/components/styled/SWModal.svelte b/src/components/styled/SWModal.svelte index 9c5a5d4..f145ff7 100644 --- a/src/components/styled/SWModal.svelte +++ b/src/components/styled/SWModal.svelte @@ -18,28 +18,28 @@ --> - dialog.close()} aria-hidden="true"> -