From c4203a195dafbbf7b52cf9cd2a964f5b6f66d62b Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Sat, 10 Jan 2026 23:43:08 -0600 Subject: [PATCH] fix: song-card responsive width with proper spacing - Song-card now grows responsively (flex: 1, max-width: 800px) - 50px gap between sections (100px total separation) - Left/right sections no longer shrink (flex-shrink: 0) - Removed fixed min-width from left/right sections --- src/lib/components/NowPlayingBar.svelte | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/lib/components/NowPlayingBar.svelte b/src/lib/components/NowPlayingBar.svelte index 621959d91..1f158b8d3 100644 --- a/src/lib/components/NowPlayingBar.svelte +++ b/src/lib/components/NowPlayingBar.svelte @@ -442,7 +442,7 @@ display: flex; align-items: center; padding: 6px 16px 26px 16px; - gap: 16px; + gap: 50px; } .left-section, @@ -450,15 +450,7 @@ display: flex; align-items: center; gap: 4px; - } - - .left-section { - min-width: 280px; - } - - .right-section { - min-width: 280px; - justify-content: flex-end; + flex-shrink: 0; } .center-section { @@ -526,8 +518,9 @@ padding: 8px 12px; background: rgba(255, 255, 255, 0.04); border-radius: 8px; - max-width: 700px; min-width: 580px; + flex: 1; + max-width: 800px; } .artwork-container {