From 5137190558c20f70a9bfd6607d17cfa5f73e95cb Mon Sep 17 00:00:00 2001 From: Alexis Faizeau Date: Fri, 11 Feb 2022 15:06:41 +0100 Subject: [PATCH] Change cowebsite closing animation --- .../EmbedScreens/CoWebsiteThumbnailSlot.svelte | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/front/src/Components/EmbedScreens/CoWebsiteThumbnailSlot.svelte b/front/src/Components/EmbedScreens/CoWebsiteThumbnailSlot.svelte index 4ff59f5d..b01dbf0a 100644 --- a/front/src/Components/EmbedScreens/CoWebsiteThumbnailSlot.svelte +++ b/front/src/Components/EmbedScreens/CoWebsiteThumbnailSlot.svelte @@ -219,7 +219,8 @@ } &:not(.vertical) { - animation: bounce 0.35s ease 6 alternate; + transition: all 300ms; + transform: translateY(0px); } &.vertical { @@ -240,7 +241,7 @@ &.displayed { &:not(.vertical) { - animation: activeThumbnail 300ms ease-in 0s forwards; + transform: translateY(-15px); } } @@ -269,16 +270,6 @@ } } - @keyframes activeThumbnail { - 0% { - transform: translateY(0); - } - - 100% { - transform: translateY(-15px); - } - } - @keyframes bounce { from { transform: translateY(0);