Skip to content

Commit

Permalink
fix accordion vf-transition syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
petermakowski authored and bartaz committed Aug 24, 2022
1 parent 0a3f7a1 commit 480eb90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scss/_patterns_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@
&:hover {
background-color: $colors--light-theme--background-hover;
}
@include vf-animation(#{background-color, border-color});
@include vf-transition(#{background-color, border-color});
}

&[aria-expanded='false'] {
&::before {
transform: rotate(-90deg);
}

@include vf-animation(#{background-color, border-color});
@include vf-transition(#{background-color, border-color});
}
}

Expand Down Expand Up @@ -92,7 +92,7 @@
overflow: auto; // include child margins into its height
padding-left: $sph--large + $icon-size + $sph--large * 2;

@include vf-animation('transform, opacity', fast);
@include vf-transition(#{transform, opacity}, fast);
// Hides panel content
&[aria-hidden='true'] {
height: 0;
Expand Down

0 comments on commit 480eb90

Please sign in to comment.