diff --git a/apps/web/src/features/player/components/GlobalPlayer.tsx b/apps/web/src/features/player/components/GlobalPlayer.tsx index 3d3605dc2..47520b465 100644 --- a/apps/web/src/features/player/components/GlobalPlayer.tsx +++ b/apps/web/src/features/player/components/GlobalPlayer.tsx @@ -97,8 +97,9 @@ export function GlobalPlayer() { role="region" aria-label="Global player" className={cn( - 'fixed bottom-6 left-4 right-4 z-player transition-all duration-[var(--sumi-duration-slow)] ease-[var(--sumi-ease-out)]', - 'lg:right-4 w-player-bar', + 'fixed bottom-4 sm:bottom-6 left-2 right-2 sm:left-4 sm:right-4 z-player transition-all duration-[var(--sumi-duration-slow)] ease-[var(--sumi-ease-out)]', + 'max-w-full min-w-0', + 'lg:right-4 lg:w-player-bar', sidebarOpen ? 'lg:left-main-expanded lg:w-player-bar-expanded' : 'lg:left-main-collapsed lg:w-player-bar-collapsed', isExpanded && 'translate-y-full opacity-0 pointer-events-none', )} @@ -106,7 +107,7 @@ export function GlobalPlayer() { onMouseLeave={() => setIsHovered(false)} > -
+
- +
+ +
diff --git a/apps/web/src/features/player/components/player-bar/PlayerBarRight.tsx b/apps/web/src/features/player/components/player-bar/PlayerBarRight.tsx index a7d23e55c..bcdd83207 100644 --- a/apps/web/src/features/player/components/player-bar/PlayerBarRight.tsx +++ b/apps/web/src/features/player/components/player-bar/PlayerBarRight.tsx @@ -40,7 +40,7 @@ export function PlayerBarRight({ }: PlayerBarRightProps) { return (
@@ -55,21 +55,22 @@ export function PlayerBarRight({ > {muted || volume === 0 ? : } -
+
onVolumeChange(val[0] ?? 0)} max={100} - className="w-14 min-w-0" + className="w-12 sm:w-14 min-w-0" />
-
+
{pipSupported && onTogglePiP && ( diff --git a/apps/web/src/features/player/components/player-bar/PlayerBarTrackInfo.tsx b/apps/web/src/features/player/components/player-bar/PlayerBarTrackInfo.tsx index 1966c6d54..62a39bb5c 100644 --- a/apps/web/src/features/player/components/player-bar/PlayerBarTrackInfo.tsx +++ b/apps/web/src/features/player/components/player-bar/PlayerBarTrackInfo.tsx @@ -25,12 +25,12 @@ export function PlayerBarTrackInfo({ }: PlayerBarTrackInfoProps) { return (