Skip to content

Commit

Permalink
Block Directory: Standardize reduced motion handling using media quer…
Browse files Browse the repository at this point in the history
…ies (#68420)

Co-authored-by: im3dabasia <[email protected]>
Co-authored-by: t-hamano <[email protected]>
  • Loading branch information
3 people authored Jan 13, 2025
1 parent d039f91 commit 9641b36
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
background: none;
border: 0;
text-align: left;
transition: box-shadow 0.1s linear;

@media not (prefers-reduced-motion) {
transition: box-shadow 0.1s linear;
}

// The item contains absolutely positioned items.
// Set `position: relative` on the parent to prevent overflow issues
Expand Down

0 comments on commit 9641b36

Please sign in to comment.