Skip to content

Commit

Permalink
Remove unnecessary reduce motion when $enable-transition: false (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
ysds authored and XhmikosR committed Feb 17, 2020
1 parent 037bad1 commit c40b713
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 c40b713

Please sign in to comment.