Skip to content

Commit

Permalink
respect prefers-reduced-motion for code block button
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Feb 17, 2023
1 parent 64054c0 commit f8a9dd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
border-radius: var(--ifm-global-radius);
padding: 0.4rem;
line-height: 0;
transition: opacity 200ms ease-in-out;
transition: opacity var(--ifm-transition-fast) ease-in-out;
opacity: 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
opacity: inherit;
width: inherit;
height: inherit;
transition: all 0.15s ease;
transition: all var(--ifm-transition-fast) ease;
}

.copyButtonSuccessIcon {
Expand Down

0 comments on commit f8a9dd0

Please sign in to comment.