We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e49d1dd commit 35b8ff9Copy full SHA for 35b8ff9
sites/docs/src/routes/(app)/examples/music/(components)/album-artwork.svelte
@@ -20,12 +20,12 @@
20
<img
21
class={cn(
22
"h-auto w-auto object-cover transition-all hover:scale-105",
23
+ `w-[${width}px]`,
24
+ `h-[${height}px]`,
25
aspectRatio === "portrait" ? "aspect-[3/4]" : "aspect-square"
26
)}
27
src={album.cover}
28
alt={album.name}
- {width}
- {height}
29
/>
30
</div>
31
</ContextMenu.Trigger>
0 commit comments