Fix: Toasts verschwinden jetzt (doppeltes ease + Fallback-Timeout)
CSS: var(--transition-normal) enthielt bereits 'ease', dadurch 'toast-out 200ms ease ease' = ungueltig, animationend feuert nie. JS: setTimeout-Fallback nach 300ms als Sicherheitsnetz. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c37befd82b
commit
5a0be0e886
2 changed files with 4 additions and 3 deletions
|
|
@ -409,7 +409,7 @@ textarea.form-control {
|
|||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
pointer-events: auto;
|
||||
animation: toast-in var(--transition-normal) ease forwards;
|
||||
animation: toast-in 200ms ease forwards;
|
||||
}
|
||||
|
||||
.toast-success { background: var(--c-success); }
|
||||
|
|
@ -425,7 +425,7 @@ textarea.form-control {
|
|||
from { opacity: 1; transform: translateY(0) scale(1); }
|
||||
to { opacity: 0; transform: translateY(-8px) scale(0.96); }
|
||||
}
|
||||
.toast.removing { animation: toast-out var(--transition-normal) ease forwards; }
|
||||
.toast.removing { animation: toast-out 200ms ease forwards; }
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
8. MODAL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue