Better constrain cover artwork sizes

This commit is contained in:
Claudio Ortolina
2024-10-17 21:57:28 +01:00
parent 82c23c2dfa
commit 4e5715bf0b
2 changed files with 2 additions and 2 deletions
@@ -6,7 +6,7 @@
>
<dt>
<img
class="absolute max-w-20 rounded-lg shadow"
class="absolute w-20 rounded-lg shadow"
src={~p"/covers/#{@latest_record.id}"}
alt={@latest_record.title}
/>
@@ -37,7 +37,7 @@
>
<div class="flex min-w-0 gap-x-4 items-center">
<img
class="max-h-20 max-w-20 flex-none rounded-lg"
class="w-20 flex-none rounded-lg"
alt={record.title}
src={~p"/covers/#{record.id}?vsn=#{record.cover_hash || ""}"}
/>