Limit artwork sizes and remove duplicate IDs
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user