Move slideRight animation into Toast component
This commit is contained in:
parent
973418ad45
commit
2e2f22d36f
1 changed files with 9 additions and 0 deletions
|
|
@ -67,6 +67,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
@keyframes slideRight {
|
||||
from {
|
||||
transform: translateX(var(--radix-toast-swipe-end-x));
|
||||
}
|
||||
to {
|
||||
transform: translateX(100%);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeOut {
|
||||
from {
|
||||
opacity: 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue