From 900df9307af5f5c3fcaf687c82ba8079917738dd Mon Sep 17 00:00:00 2001
From: vicrodh <103399283+vicrodh@users.noreply.github.com>
Date: Tue, 27 Jan 2026 17:56:31 -0600
Subject: [PATCH] refactor(suggestions): move preview to album art overlay
Move play button from action buttons to album art hover overlay,
matching the pattern used in ArtistDetailView popular tracks.
---
src/lib/components/PlaylistSuggestions.svelte | 50 ++++++++++++-------
1 file changed, 32 insertions(+), 18 deletions(-)
diff --git a/src/lib/components/PlaylistSuggestions.svelte b/src/lib/components/PlaylistSuggestions.svelte
index a297ddc88..750f581eb 100644
--- a/src/lib/components/PlaylistSuggestions.svelte
+++ b/src/lib/components/PlaylistSuggestions.svelte
@@ -309,6 +309,15 @@
}}
/>
{/if}
+ {#if onPreviewTrack}
+
+ {/if}
@@ -345,15 +354,6 @@
- {#if onPreviewTrack}
-
- {/if}