mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-12 18:43:50 +00:00
refactor(#35): announce toast notification
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
<div
|
||||
id={localToast.toastType == 'success' ? 'success-toast' : 'error-toast'}
|
||||
role="alert"
|
||||
aria-live="polite"
|
||||
class="alert {localToast.toastType == 'success'
|
||||
? 'alert-success'
|
||||
: 'alert-error'} fixed top-20 right-3 max-w-80 z-50 text-white"
|
||||
|
||||
Reference in New Issue
Block a user