diff options
author | Shohei Yoshida <ysds.code@gmail.com> | 2020-02-17 10:46:53 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-02-17 22:33:54 +0300 |
commit | c40b71318c20c309fcd7ae32ee77d58a00756f03 (patch) | |
tree | 109a5de949c7c37257a2b75ad7417577027c3435 /scss | |
parent | 037bad148c61791eb86412069aac989e464cb7d6 (diff) |
Remove unnecessary reduce motion when `$enable-transition: false` (#30183)
Diffstat (limited to 'scss')
-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 8ce35a6b83..54983d736c 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; + } } } } |