Better constrain cover artwork sizes
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
>
|
>
|
||||||
<dt>
|
<dt>
|
||||||
<img
|
<img
|
||||||
class="absolute max-w-20 rounded-lg shadow"
|
class="absolute w-20 rounded-lg shadow"
|
||||||
src={~p"/covers/#{@latest_record.id}"}
|
src={~p"/covers/#{@latest_record.id}"}
|
||||||
alt={@latest_record.title}
|
alt={@latest_record.title}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
>
|
>
|
||||||
<div class="flex min-w-0 gap-x-4 items-center">
|
<div class="flex min-w-0 gap-x-4 items-center">
|
||||||
<img
|
<img
|
||||||
class="max-h-20 max-w-20 flex-none rounded-lg"
|
class="w-20 flex-none rounded-lg"
|
||||||
alt={record.title}
|
alt={record.title}
|
||||||
src={~p"/covers/#{record.id}?vsn=#{record.cover_hash || ""}"}
|
src={~p"/covers/#{record.id}?vsn=#{record.cover_hash || ""}"}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user