From 619f8cca6df9cfaab420059917116ac92f923a11 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Fri, 23 Jan 2026 03:19:49 -0600 Subject: [PATCH] refactor(artist): move action buttons below photo, remove album count Restructure artist header layout: - Move favorite and radio buttons below the artist photo - Remove album count line from header - Artist name now left-aligned in its own row - Create artist-image-column for photo + actions grouping --- .../components/views/ArtistDetailView.svelte | 73 ++++++++++--------- 1 file changed, 40 insertions(+), 33 deletions(-) diff --git a/src/lib/components/views/ArtistDetailView.svelte b/src/lib/components/views/ArtistDetailView.svelte index c9aba0801..d85cffb73 100644 --- a/src/lib/components/views/ArtistDetailView.svelte +++ b/src/lib/components/views/ArtistDetailView.svelte @@ -712,28 +712,25 @@
- -
- {#if imageError || !artist.image} -
- -
- {:else} - {artist.name} - {/if} -
- - -
-
-

{artist.name}

+ +
+
+ {#if imageError || !artist.image} +
+ +
+ {:else} + {artist.name} + {/if} +
+
-
- {artist.totalAlbums || artist.albumsCount || 0} albums -
+
+ + +
+

{artist.name}

{#if bioText} @@ -1306,6 +1305,14 @@ margin-bottom: 32px; } + .artist-image-column { + display: flex; + flex-direction: column; + align-items: center; + gap: 16px; + flex-shrink: 0; + } + .artist-image-container { flex-shrink: 0; } @@ -1330,6 +1337,12 @@ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); } + .artist-actions { + display: flex; + gap: 12px; + justify-content: center; + } + .artist-info { flex: 1; display: flex; @@ -1338,18 +1351,12 @@ padding-top: 8px; } - .artist-name-row { - display: flex; - align-items: center; - gap: 16px; - margin-bottom: 8px; - } - .artist-name { font-size: 24px; font-weight: 700; color: var(--text-primary); - margin: 0; + margin: 0 0 16px 0; + text-align: left; } .favorite-btn {