Skip to content

Commit

Permalink
Remove styling for prefers reduced motion
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiomorales committed Jul 12, 2024
1 parent 2e81998 commit 39fe590
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/block-library/src/image/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
vertical-align: bottom;
box-sizing: border-box;

&.hide {
visibility: hidden;
}
@media (prefers-reduced-motion: no-preference) {
&.hide {
visibility: hidden;
}

&.show {
animation: show-content-image 0.4s;
&.show {
animation: show-content-image 0.4s;
}
}
}

Expand Down

0 comments on commit 39fe590

Please sign in to comment.