Skip to content

Commit

Permalink
Animate song icon when music playing
Browse files Browse the repository at this point in the history
  • Loading branch information
CalPinSW committed Jul 25, 2024
1 parent 38c1ceb commit 9e2f44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/presentational/PlaybackFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const PlaybackFooter: FC = () => {
<div className="flex flex-col w-4/5 text-sm space-y-2">
<div className="flex flex-row justify-between">
<div className="flex flex-row space-x-2">
<SongIcon className="my-auto w-8 h-8" />
<SongIcon className={`my-auto w-8 h-8 ${playbackInfo.is_playing && "animate-bounce"}`} />
<div className="my-auto text-balance">
{playbackInfo.track_title}
</div>
Expand Down

0 comments on commit 9e2f44d

Please sign in to comment.