Skip to content

Commit 6210e89

Browse files
committed
fix: height of song card incorrect again
1 parent 4156de7 commit 6210e89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/src/modules/browse/components/SongCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const SongCard = ({ song }: { song: SongPreviewDtoType | null }) => {
7373
return !song ? (
7474
<SongDataDisplay song={song} />
7575
) : (
76-
<Link href={`/song/${song.publicId}`} className='h-full'>
76+
<Link href={`/song/${song.publicId}`} className='h-full max-h-[16.5rem]'>
7777
<div
7878
className='bg-zinc-800 hover:scale-105 hover:bg-zinc-700 rounded-lg cursor-pointer w-full h-full transition-all duration-200'
7979
style={{ backfaceVisibility: 'hidden' }}

web/src/modules/shared/components/client/ads/AdSlots.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export const SongCardAdSlot = ({ className }: { className?: string }) => {
166166
return (
167167
<AdTemplate
168168
className={cn(
169-
'relative rounded-xl bg-zinc-800 p-2 my-8 h-18 w-full min-w-64 text-sm text-zinc-400',
169+
'relative rounded-xl bg-zinc-800 p-2 my-8 h-full w-full min-w-64 text-sm text-zinc-400',
170170
className,
171171
)}
172172
adSlot='1737918264'

0 commit comments

Comments
 (0)