Skip to content

Commit

Permalink
chore: arrange gaps in player and controls section
Browse files Browse the repository at this point in the history
  • Loading branch information
okanisildar committed Dec 17, 2023
1 parent 89b1720 commit 66fb81c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/audio-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function AudioPlayerControls({
onClick={onRewind}
variant="ghost"
>
<MdReplay30 style={{ height: 28, width: 28 }} />
<MdReplay30 style={{ height: 24, width: 24 }} />
</IconButton>
<IconButton
className={styles.IconButton}
Expand All @@ -57,9 +57,9 @@ function AudioPlayerControls({
variant="ghost"
>
{playing ? (
<FaPauseCircle style={{ height: 28, width: 28 }} />
<FaPauseCircle style={{ height: 24, width: 24 }} />
) : (
<FaCirclePlay style={{ height: 28, width: 28 }} />
<FaCirclePlay style={{ height: 24, width: 24 }} />
)}
</IconButton>
<IconButton
Expand All @@ -68,7 +68,7 @@ function AudioPlayerControls({
onClick={onFastForward}
variant="ghost"
>
<MdForward30 style={{ height: 28, width: 28 }} />
<MdForward30 style={{ height: 24, width: 24 }} />
</IconButton>
</Flex>
);
Expand All @@ -94,7 +94,7 @@ function PlayerBar({
}}
gap={{
initial: '1',
sm: '4',
sm: '2',
}}
>
<Box
Expand Down Expand Up @@ -193,7 +193,7 @@ export default function AudioPlayer({ audioUrl, duration }: Props) {
}}
gap={{
initial: '2',
sm: '4',
sm: '3',
}}
justify={{
initial: 'center',
Expand Down

0 comments on commit 66fb81c

Please sign in to comment.