From 279caf26fbf1df68d5b15f5467e8e94a9f7423f7 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sat, 10 May 2025 23:06:21 +0100 Subject: [PATCH] Rebalance release sheet sizes - Larger scrobble buttons on mobile - Larger text on medium size and up --- .../components/release_component.ex | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/lib/music_library_web/components/release_component.ex b/lib/music_library_web/components/release_component.ex index 2c503659..ca2657bc 100644 --- a/lib/music_library_web/components/release_component.ex +++ b/lib/music_library_web/components/release_component.ex @@ -33,7 +33,7 @@ defmodule MusicLibraryWeb.ReleaseComponent do

{gettext("Tracks")}

{gettext("Connect your Last.fm account")} @@ -71,13 +71,13 @@ defmodule MusicLibraryWeb.ReleaseComponent do

1} - class="text-sm font-semibold text-zinc-700 dark:text-zinc-300" + class="text-sm md:text-md font-semibold text-zinc-700 dark:text-zinc-300" > {medium_title(medium)}

- {track.position} - {track.title} - + + {track.position} + + + {track.title} + + {track.length && format_duration(track.length)}
-
+
{Enum.map_join(track.artists, ", ", fn artist -> artist.name end)} @@ -107,7 +114,7 @@ defmodule MusicLibraryWeb.ReleaseComponent do -

+

{medium_duration(medium)}