Skip to content

Commit

Permalink
fix(sbb-map-container): respect disabled global animation (#2879)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB authored Jul 3, 2024
1 parent f7506df commit d5e52e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/elements/map-container/map-container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d5e52e3

Please sign in to comment.