Commit b4a2beb3 authored by Patrick H. Lauke's avatar Patrick H. Lauke Committed by XhmikosR
Browse files

Check prefers-reduced-motion variable before adding reduced motion media query...

Check prefers-reduced-motion variable before adding reduced motion media query for animated progress bars (#28530)
parent 1f7f8768
Showing with 4 additions and 2 deletions
+4 -2
...@@ -36,8 +36,10 @@ ...@@ -36,8 +36,10 @@
.progress-bar-animated { .progress-bar-animated {
animation: progress-bar-stripes $progress-bar-animation-timing; animation: progress-bar-stripes $progress-bar-animation-timing;
@media (prefers-reduced-motion: reduce) { @if $enable-prefers-reduced-motion-media-query {
animation: none; @media (prefers-reduced-motion: reduce) {
animation: none;
}
} }
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment