Skip to content

Commit

Permalink
fix: speed up disclosure icon animations (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Zimmerman committed Jan 16, 2020
1 parent 872b2de commit fd5b17f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/assets/styles/components/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
height: rem(20);
margin-bottom: 0;
margin-right: rem(10);
transition: transform 0.5s;
transition: transform 0.3s;
width: rem(20);

@media (prefers-reduced-motion: reduce) {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/styles/components/_disclosure-button.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.disclosure-button {
svg {
transition: transform 0.5s;
transition: transform 0.3s;

@media (prefers-reduced-motion: reduce) {
transition: none;
Expand Down
2 changes: 1 addition & 1 deletion src/assets/styles/components/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ nav {

/* stylelint-disable no-descending-specificity */
svg { /* stylelint-enable */
transition: transform 0.5s;
transition: transform 0.3s;

@media (prefers-reduced-motion: reduce) {
transition: none;
Expand Down

0 comments on commit fd5b17f

Please sign in to comment.