Skip to content

Commit

Permalink
docs: make album artwork same size on music example (#1248)
Browse files Browse the repository at this point in the history
Co-authored-by: Hunter Johnston <johnstonhuntera@gmail.com>
  • Loading branch information
fernandolguevara and huntabyte authored Aug 28, 2024
1 parent e49d1dd commit 35b8ff9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
<img
class={cn(
"h-auto w-auto object-cover transition-all hover:scale-105",
`w-[${width}px]`,
`h-[${height}px]`,
aspectRatio === "portrait" ? "aspect-[3/4]" : "aspect-square"
)}
src={album.cover}
alt={album.name}
{width}
{height}
/>
</div>
</ContextMenu.Trigger>
Expand Down

0 comments on commit 35b8ff9

Please sign in to comment.