Skip to content

Commit

Permalink
fixed spacing between icons and stats (#286)
Browse files Browse the repository at this point in the history
Co-authored-by: Akshara Sundararajan <[email protected]>
  • Loading branch information
akshara-sun and akshara-sun authored Dec 16, 2020
1 parent a4ee7a5 commit 47bdb03
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/SoundList.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,13 @@ const SoundList = ({
>
<div className="flex justify-start w-5/12 lg:w-4/12 items-center">
<IonIcon icon={timeSharp} size="large" />
{formatTime(Math.round(track.duration))}
<span className="m-1">
{formatTime(Math.round(track.duration))}
</span>
</div>
<div className="flex justify-start w-4/12 lg:w-3/12 items-center">
<div className="flex justify-start w-5/12 lg:w-4/12 items-center">
<IonIcon icon={downloadSharp} size="large" />
{track.num_downloads}
<span className="m-1">{track.num_downloads}</span>
</div>
<div className="flex justify-start w-4/12 lg:w-3/12 items-center">
<IonIcon icon={starHalfSharp} size="large" />
Expand Down

1 comment on commit 47bdb03

@vercel
Copy link

@vercel vercel bot commented on 47bdb03 Dec 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.