Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Dec 10, 2024
1 parent c1eae8d commit c33b811
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/src/lib/components/audio-player/AudioPlayer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
};
</script>

<div class="w-full p-6 pb-3 rounded-xl bg-gradient-to-br from-gray-900 to-gray-800 shadow-lg">
<div class="w-full pt-6 px-4 pb-3 rounded-xl bg-gradient-to-br from-gray-900 to-gray-800 shadow-lg">
<audio
bind:this={audioRef}
class="w-full animate-fade-in block"
class="hidden"
on:loadeddata={setAudioData}
on:timeupdate={setCurrentTime}
>
Expand Down Expand Up @@ -89,7 +89,7 @@

<AudioPlayerPlaybackControl bind:isPlaying {audioRef} />

<div class="flex justify-between items-center gap-x-4">
<div class="flex justify-between items-center gap-x-3">
<span class="md:hidden">
<AudioPlayerVolumeController {audioRef} bind:volume bind:isMuted />
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
};
</script>

<div class="flex justify-center items-center gap-x-4">
<div class="flex justify-center items-center gap-x-1 md:gap-x-3">
<Button
variant="ghost"
size="icon"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
max={100}
step={1}
onValueChange={handleVolumeChange}
class="w-24"
rangeClass="bg-emerald-800"
thumbClass="bg-zinc-800 border-zinc-500"
class="w-14 md:w-20"
rangeClass="bg-white/70"
thumbClass="bg-white border-white"
/>
</div>

0 comments on commit c33b811

Please sign in to comment.