Fix cover image distortion in scrobble activity
This commit is contained in:
@@ -283,7 +283,7 @@ defmodule MusicLibraryWeb.StatsLive.Index do
|
|||||||
<div class="relative flex items-center justify-between space-x-3">
|
<div class="relative flex items-center justify-between space-x-3">
|
||||||
<div class="flex min-w-0 items-center justify-between space-x-4">
|
<div class="flex min-w-0 items-center justify-between space-x-4">
|
||||||
<img
|
<img
|
||||||
class="size-12 rounded-md shadow-sm"
|
class="size-12 object-cover rounded-md shadow-sm"
|
||||||
src={track_or_album_cover_url(album, cover_hash)}
|
src={track_or_album_cover_url(album, cover_hash)}
|
||||||
alt={album.metadata.title}
|
alt={album.metadata.title}
|
||||||
/>
|
/>
|
||||||
@@ -363,7 +363,7 @@ defmodule MusicLibraryWeb.StatsLive.Index do
|
|||||||
<div class="relative flex items-center justify-between space-x-3">
|
<div class="relative flex items-center justify-between space-x-3">
|
||||||
<div class="flex min-w-0 items-center justify-between space-x-4">
|
<div class="flex min-w-0 items-center justify-between space-x-4">
|
||||||
<img
|
<img
|
||||||
class="size-12 rounded-md shadow-sm"
|
class="size-12 object-cover rounded-md shadow-sm"
|
||||||
src={track_or_album_cover_url(track, cover_hash)}
|
src={track_or_album_cover_url(track, cover_hash)}
|
||||||
alt={track.title}
|
alt={track.title}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user