From 4a0865c0887554c8fbafadf67e5bf687ad8dd42e Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 30 Jun 2023 22:14:20 -0700 Subject: [PATCH] Add missing animations to Toast --- components/common/Toast/index.module.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/components/common/Toast/index.module.scss b/components/common/Toast/index.module.scss index b5bcf620..9bcbdd01 100644 --- a/components/common/Toast/index.module.scss +++ b/components/common/Toast/index.module.scss @@ -57,4 +57,22 @@ font-weight: $bold; } } + + @keyframes slideLeft { + from { + transform: translateX(100%); + } + to { + transform: translateX(0); + } + } + + @keyframes fadeOut { + from { + opacity: 1; + } + to { + opacity: 0; + } + } }