From 56d4edfb9d6b72ee6e6c32cc3db8e9bbb023f2d5 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 3 Nov 2022 09:43:23 +0100 Subject: [PATCH] fix: toast --- apps/ui/src/lib/components/Toast.svelte | 2 +- apps/ui/src/lib/components/Toasts.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ui/src/lib/components/Toast.svelte b/apps/ui/src/lib/components/Toast.svelte index 55025f755..6109bfd0b 100644 --- a/apps/ui/src/lib/components/Toast.svelte +++ b/apps/ui/src/lib/components/Toast.svelte @@ -16,7 +16,7 @@ on:focus={() => dispatch('pause')} on:mouseout={() => dispatch('resume')} on:blur={() => dispatch('resume')} - class={`flex flex-row alert shadow-lg text-white hover:scale-105 transition-all duration-100 cursor-pointer rounded ${success()}`} + class={` flex flex-row justify-center alert shadow-lg text-white hover:scale-105 transition-all duration-100 cursor-pointer rounded ${success()}`} class:alert-error={type === 'error'} class:alert-info={type === 'info'} > diff --git a/apps/ui/src/lib/components/Toasts.svelte b/apps/ui/src/lib/components/Toasts.svelte index abb4414ac..98a95595c 100644 --- a/apps/ui/src/lib/components/Toasts.svelte +++ b/apps/ui/src/lib/components/Toasts.svelte @@ -6,7 +6,7 @@ {#if $toasts.length > 0}
-