Skip to content

Commit

Permalink
fix: reverse plus minus icon states
Browse files Browse the repository at this point in the history
  • Loading branch information
svvimming committed Sep 7, 2023
1 parent 8605080 commit 5a3496f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/plus-minus-icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ const props = defineProps({

<style lang="scss" scoped>
.plus {
opacity: 0;
opacity: 1;
@include transitionDefault;
}
.plus-minus-icon {
@include transitionDefault;
transform: rotate(0deg);
transform: rotate(90deg);
&.active {
transform: rotate(90deg);
transform: rotate(180deg);
.plus {
opacity: 1;
opacity: 0;
}
}
}
Expand Down

0 comments on commit 5a3496f

Please sign in to comment.