Limit artwork sizes and remove duplicate IDs

This commit is contained in:
Claudio Ortolina
2024-11-19 18:31:46 +00:00
parent eee70b0999
commit 47a20d259e
4 changed files with 35 additions and 45 deletions
@@ -1,7 +1,7 @@
<div class="md:columns-2 mt-4 px-4">
<div class="drop-shadow">
<div class="drop-shadow max-w-3xl">
<img
class="w-full rounded-lg shadow"
class="w-full rounded-lg drop-shadow"
src={~p"/covers/#{@record.id}?vsn=#{@record.cover_hash || ""}"}
alt={@record.title}
/>
@@ -36,7 +36,6 @@
<.button type="button" class="relative -ml-px inline-flex items-center rounded-none">
<span class="sr-only"><%= gettext("Refresh") %></span>
<.icon
id="refresh-lastfm-feed"
name="hero-arrow-path"
class="h-4 w-4 mr-1 phx-click-loading:animate-spin"
aria-hidden="true"
@@ -49,7 +48,6 @@
<.button type="button" class="relative -ml-px inline-flex items-center rounded-none">
<span class="sr-only"><%= gettext("Refresh") %></span>
<.icon
id="refresh-lastfm-feed"
name="hero-arrow-path"
class="h-4 w-4 mr-1 phx-click-loading:animate-spin"
aria-hidden="true"
@@ -72,13 +72,7 @@
phx-click={JS.push("refresh_lastfm_feed")}
>
<span class="sr-only"><%= gettext("Refresh LastFm Feed") %></span>
<.icon
id="refresh-lastfm-feed"
name="hero-arrow-path"
class="-mt-1 h-5 w-5"
aria-hidden="true"
data-slot="icon"
/>
<.icon name="hero-arrow-path" class="-mt-1 h-5 w-5" aria-hidden="true" data-slot="icon" />
</button>
</div>
<ul
@@ -1,7 +1,7 @@
<div class="md:columns-2 mt-4 px-4">
<div class="drop-shadow">
<div class="drop-shadow max-w-3xl">
<img
class="w-full rounded-lg shadow"
class="w-full rounded-lg drop-shadow"
src={~p"/covers/#{@record.id}?vsn=#{@record.cover_hash || ""}"}
alt={@record.title}
/>
@@ -36,7 +36,6 @@
<.button type="button" class="relative -ml-px inline-flex items-center rounded-none">
<span class="sr-only"><%= gettext("Refresh") %></span>
<.icon
id="refresh-lastfm-feed"
name="hero-arrow-path"
class="h-4 w-4 mr-1 phx-click-loading:animate-spin"
aria-hidden="true"
@@ -49,7 +48,6 @@
<.button type="button" class="relative -ml-px inline-flex items-center rounded-none">
<span class="sr-only"><%= gettext("Refresh") %></span>
<.icon
id="refresh-lastfm-feed"
name="hero-arrow-path"
class="h-4 w-4 mr-1 phx-click-loading:animate-spin"
aria-hidden="true"