From f04cd5688692e20597e0dd09f39302e07b10f16b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 1 May 2024 21:28:02 +0200 Subject: [PATCH] Use explicit animation props in cookie-consent --- src/scss/component/_cookie-consent.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/scss/component/_cookie-consent.scss b/src/scss/component/_cookie-consent.scss index f07f7e7..dffef74 100644 --- a/src/scss/component/_cookie-consent.scss +++ b/src/scss/component/_cookie-consent.scss @@ -34,11 +34,15 @@ transform: translateY(200%); &--slidein { - animation: slidein config('duration', $transition) forwards; + animation-duration: config('duration', $transition); + animation-fill-mode: forwards; + animation-name: slidein; } &--slideout { - animation: slideout config('duration', $transition) forwards; + animation-duration: config('duration', $transition); + animation-fill-mode: forwards; + animation-name: slideout; } &__caption {