Skip to content

Commit

Permalink
fix: rotate the spinner when unselected
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Nov 28, 2023
1 parent aaccbee commit cf7600e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/sound/sound.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@
);
content: '';
}

& .spinner {
animation-duration: 1s;
animation-iteration-count: infinite;
animation-name: spinner;
animation-timing-function: linear;
line-height: 0;
}
}

&.selected {
Expand All @@ -77,14 +85,6 @@

& .icon {
color: #34d399;

& .spinner {
animation-duration: 1s;
animation-iteration-count: infinite;
animation-name: spinner;
animation-timing-function: linear;
line-height: 0;
}
}
}

Expand Down

0 comments on commit cf7600e

Please sign in to comment.