Added slider to increase/decrease volume

Changed class w-24 to w-full.
This commit is contained in:
ritikprajapat21 2025-07-09 13:06:25 +05:30
parent d611bd6303
commit 2d6fb98130
2 changed files with 6 additions and 6 deletions

View file

@ -966,14 +966,14 @@ export default function PodcastsPageClient({
</Button>
</motion.div>
<div className="relative w-24">
<div className="relative w-full">
<Slider
value={[isMuted ? 0 : volume]}
min={0}
max={1}
step={0.01}
onValueChange={handleVolumeChange}
className="w-24"
className="w-full"
disabled={isMuted}
/>
<motion.div