Skip to content

Commit

Permalink
Customize Widgets: Standardize reduced motion handling using media qu…
Browse files Browse the repository at this point in the history
…eries
  • Loading branch information
im3dabasia committed Dec 31, 2024
1 parent e5dca54 commit f024575
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/customize-widgets/src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@
}

svg {
transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
@include reduce-motion("transition");
@media not (prefers-reduced-motion) {
transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}
}

&.is-pressed {
Expand Down

0 comments on commit f024575

Please sign in to comment.