From ccf515ee287b8e9b317ccf15ef5eec734d2b3026 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Thu, 15 Jan 2026 17:25:28 +0000 Subject: [PATCH] Use labels to ease interaction with tracks/mediums --- lib/music_library_web/components/release.ex | 81 +++++++++++---------- 1 file changed, 43 insertions(+), 38 deletions(-) diff --git a/lib/music_library_web/components/release.ex b/lib/music_library_web/components/release.ex index d44ffb92..5669ef34 100644 --- a/lib/music_library_web/components/release.ex +++ b/lib/music_library_web/components/release.ex @@ -47,7 +47,7 @@ defmodule MusicLibraryWeb.Components.Release do class="min-w-xs sm:min-w-sm" >
-

+

+ <.button :if={@can_scrobble? && @release_with_tracks.ok?} size="sm" @@ -134,7 +137,7 @@ defmodule MusicLibraryWeb.Components.Release do :if={@media_count > 1} class="flex justify-between items-center gap-4" > -

+

+ <.button :if={@can_scrobble?} size="sm" @@ -197,40 +200,42 @@ defmodule MusicLibraryWeb.Components.Release do """