Skip to content

Commit

Permalink
feat: added reduce-motion, also updated mixing to use standard way
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayank-Tripathi32 committed Dec 30, 2024
1 parent a28455c commit 566c8b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/block-library/src/gallery/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@
top: -2px;
margin: $grid-unit-10;
z-index: z-index(".block-library-gallery-item__inline-menu");
transition: box-shadow 0.2s ease-out;
@include reduce-motion("transition");
@media not ( prefers-reduced-motion ) {
transition: box-shadow 0.2s ease-out;
}
border-radius: $radius-small;
background: $white;
border: $border-width solid $gray-900;
Expand Down

0 comments on commit 566c8b5

Please sign in to comment.