move vol to right on large screens

main
btahir89 12 months ago
parent ce38039996
commit 02c8408ba2

@ -24,7 +24,7 @@ const PlaybackControls: React.FC<PlaybackControlsProps> = ({
setVolume, setVolume,
changeChannel, changeChannel,
}) => ( }) => (
<div className="flex w-full items-center justify-between gap-2"> <div className="flex w-full items-center justify-between sm:justify-start sm:gap-8">
{/* Left Side - Playback Controls */} {/* Left Side - Playback Controls */}
<div className="flex shrink-0 items-center space-x-1"> <div className="flex shrink-0 items-center space-x-1">
<button <button
@ -49,8 +49,6 @@ const PlaybackControls: React.FC<PlaybackControlsProps> = ({
> >
<SkipForward size={14} className="sm:h-4 sm:w-4" /> <SkipForward size={14} className="sm:h-4 sm:w-4" />
</button> </button>
</div>
{/* Right Side - Volume Control */} {/* Right Side - Volume Control */}
<div className="flex min-w-[90px] items-center space-x-1 sm:min-w-[110px] sm:space-x-2"> <div className="flex min-w-[90px] items-center space-x-1 sm:min-w-[110px] sm:space-x-2">
<button <button
@ -76,6 +74,7 @@ const PlaybackControls: React.FC<PlaybackControlsProps> = ({
/> />
</div> </div>
</div> </div>
</div>
) )
export default PlaybackControls export default PlaybackControls

Loading…
Cancel
Save