Skip to content

Commit

Permalink
fix: Fix media query and reduced motion error (WordPress#68464)
Browse files Browse the repository at this point in the history
Co-authored-by: im3dabasia <[email protected]>
Co-authored-by: mirka <[email protected]>
  • Loading branch information
3 people authored and bph committed Jan 8, 2025
1 parent dd8ac3e commit fe3f317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
// This ensure the radius work properly.
overflow: hidden;

@media not (prefers-reduced-motion) {
@media (prefers-reduced-motion: no-preference) {
transition: border-radius, box-shadow 0.4s;
}

Expand Down

0 comments on commit fe3f317

Please sign in to comment.