diff --git a/src/lib/Notifications.svelte b/src/lib/Notifications.svelte
index 51c08ce..1dce45c 100644
--- a/src/lib/Notifications.svelte
+++ b/src/lib/Notifications.svelte
@@ -1,4 +1,4 @@
-
+
{#each toasts as toast (toast.id)}
-
{#if toast.persist}
@@ -166,7 +166,7 @@
@keyframes shrink {
0% {
- width: 40vw;
+ width: var(--width);
}
100% {
width: 0;
@@ -176,7 +176,7 @@
@media screen and (min-width: 600px) {
.toasts > .toast {
- min-width: 40vw;
+ min-width: var(--width);
min-height: auto;
}
@@ -188,7 +188,7 @@