fix: toast

This commit is contained in:
Andras Bacsai
2022-11-03 09:43:23 +01:00
parent c6c037ff17
commit 56d4edfb9d
2 changed files with 2 additions and 2 deletions

View File

@@ -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'}
>