From d5e52e3674e3c255fed81c58b303c4a77cca54e0 Mon Sep 17 00:00:00 2001 From: Jeri Peier Date: Wed, 3 Jul 2024 08:36:58 +0200 Subject: [PATCH] fix(sbb-map-container): respect disabled global animation (#2879) --- src/elements/map-container/map-container.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/elements/map-container/map-container.scss b/src/elements/map-container/map-container.scss index a13e61cd48..04284ff9ae 100644 --- a/src/elements/map-container/map-container.scss +++ b/src/elements/map-container/map-container.scss @@ -12,7 +12,10 @@ var(--sbb-map-container-map-height-zero) + var(--sbb-border-radius-4x) ); --sbb-map-container-border-radius: var(--sbb-border-radius-4x); - --sbb-map-container-animation-duration: var(--sbb-animation-duration-4x); + --sbb-map-container-animation-duration: var( + --sbb-disable-animation-zero-time, + var(--sbb-animation-duration-4x) + ); @include sbb.mq($from: small) { --sbb-map-container-map-height: calc(