Skip to content

Commit

Permalink
Block Directory: Standardize reduced motion handling using media queries
Browse files Browse the repository at this point in the history
  • Loading branch information
im3dabasia committed Dec 31, 2024
1 parent e5dca54 commit 8896f0a
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 8896f0a

Please sign in to comment.