Move slideRight animation into Toast component

This commit is contained in:
Justin Edmund 2023-07-02 02:44:07 -07:00
parent 973418ad45
commit 2e2f22d36f

View file

@ -67,6 +67,15 @@
} }
} }
@keyframes slideRight {
from {
transform: translateX(var(--radix-toast-swipe-end-x));
}
to {
transform: translateX(100%);
}
}
@keyframes fadeOut { @keyframes fadeOut {
from { from {
opacity: 1; opacity: 1;