diff --git a/src/lib/toast/Toast.svelte b/src/lib/toast/Toast.svelte index 96baba4..970f40b 100644 --- a/src/lib/toast/Toast.svelte +++ b/src/lib/toast/Toast.svelte @@ -1,22 +1,13 @@ -

{$progress}

-
- -
{#each $toast as message (message)} @@ -27,7 +18,7 @@ in:fly={{ opacity: 0, x: 100 }} class="toast" > -

{message}

+
{/each}
@@ -44,10 +35,7 @@ margin-bottom: 1rem; padding: 20px; border-radius: 15px; + background: white; box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); } - - p { - margin: 0; - } diff --git a/src/lib/toast/ToastMessage.svelte b/src/lib/toast/ToastMessage.svelte new file mode 100644 index 0000000..4b72a2c --- /dev/null +++ b/src/lib/toast/ToastMessage.svelte @@ -0,0 +1,24 @@ + + +
+

{message}

+ + diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 1c6743e..4626691 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -26,7 +26,7 @@
- +