0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-28 00:54:30 +01:00

Remove unnecessary reduce motion when $enable-transition: false (#30183)

This commit is contained in:
Shohei Yoshida 2020-02-17 16:46:53 +09:00 committed by GitHub
parent 737308ae47
commit 8087272f06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,11 +6,11 @@
} @else { } @else {
transition: $transition; transition: $transition;
} }
}
@if $enable-prefers-reduced-motion-media-query { @if $enable-prefers-reduced-motion-media-query {
@media (prefers-reduced-motion: reduce) { @media (prefers-reduced-motion: reduce) {
transition: none; transition: none;
}
} }
} }
} }