Skip to content

Commit

Permalink
Remove unnecessary reduce motion when $enable-transition: false (tw…
Browse files Browse the repository at this point in the history
  • Loading branch information
ysds authored and olsza committed Oct 3, 2020
1 parent 9914bbd commit 384c3ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scss/mixins/_transition.scss
Expand Up @@ -6,11 +6,11 @@
} @else {
transition: $transition;
}
}

@if $enable-prefers-reduced-motion-media-query {
@media (prefers-reduced-motion: reduce) {
transition: none;
@if $enable-prefers-reduced-motion-media-query {
@media (prefers-reduced-motion: reduce) {
transition: none;
}
}
}
}

0 comments on commit 384c3ce

Please sign in to comment.