fix(web): keep the player size stable while loading
This commit is contained in:
1 file changed
+2
-2
@@ -145,7 +145,7 @@ export function PlayerBar() {
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</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 ? (
|
{currentSong ? (
|
||||||
<>
|
<>
|
||||||
<div className="relative size-9 shrink-0 overflow-hidden rounded @min-[640px]:size-14">
|
<div className="relative size-9 shrink-0 overflow-hidden rounded @min-[640px]:size-14">
|
||||||
@@ -194,7 +194,7 @@ export function PlayerBar() {
|
|||||||
alt="oTunes"
|
alt="oTunes"
|
||||||
width={24}
|
width={24}
|
||||||
height={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">
|
<div className="absolute inset-x-0 -bottom-1">
|
||||||
|
|||||||
Reference in new issue
Block a user