diff options
| author | Shohei Yoshida <[email protected]> | 2020-02-17 16:46:53 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-02-17 09:46:53 +0200 |
| commit | 8087272f067f16b1bde32f5ee28de615abeea4a3 (patch) | |
| tree | 603494c5ed8df474ac3abb1132a329a25248c111 | |
| parent | 737308ae4750946ca31e8bed59b5ff97581395a6 (diff) | |
| download | bootstrap-8087272f067f16b1bde32f5ee28de615abeea4a3.tar.xz bootstrap-8087272f067f16b1bde32f5ee28de615abeea4a3.zip | |
Remove unnecessary reduce motion when `$enable-transition: false` (#30183)
| -rw-r--r-- | scss/mixins/_transition.scss | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scss/mixins/_transition.scss b/scss/mixins/_transition.scss index 8ce35a6b8..54983d736 100644 --- a/scss/mixins/_transition.scss +++ b/scss/mixins/_transition.scss @@ -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; + } } } } |
