fix(web): keep the player size stable while loading

This commit is contained in:
joshuafhiggins committed 2026-11-03 15:34:13 -05:00 Verified
1 parent 6abca1f110
commit 0acd8a42df
1 file changed
+2 -2
+2 -2
View File
@@ -145,7 +145,7 @@ export function PlayerBar() {
</Button>
</div>
<div className="relative flex min-w-0 flex-1 items-center gap-2 pb-2 @min-[640px]:gap-3">
<div className="relative flex h-11 min-w-0 flex-1 items-center gap-2 pb-2 @min-[640px]:h-16 @min-[640px]:gap-3">
{currentSong ? (
<>
<div className="relative size-9 shrink-0 overflow-hidden rounded @min-[640px]:size-14">
@@ -194,7 +194,7 @@ export function PlayerBar() {
alt="oTunes"
width={24}
height={24}
className="mx-auto my-2 size-6 opacity-85"
className="mx-auto size-6 opacity-85"
/>
)}
<div className="absolute inset-x-0 -bottom-1">