From 2e2f22d36fc328caf5eb772ef58d432c7eee0994 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sun, 2 Jul 2023 02:44:07 -0700 Subject: [PATCH] Move slideRight animation into Toast component --- components/common/Toast/index.module.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/common/Toast/index.module.scss b/components/common/Toast/index.module.scss index 9bcbdd01..6f60b13c 100644 --- a/components/common/Toast/index.module.scss +++ b/components/common/Toast/index.module.scss @@ -67,6 +67,15 @@ } } + @keyframes slideRight { + from { + transform: translateX(var(--radix-toast-swipe-end-x)); + } + to { + transform: translateX(100%); + } + } + @keyframes fadeOut { from { opacity: 1;