Only manually set aspect ratio when using alert videos

This commit is contained in:
Josh Hawkins 2024-09-30 07:56:47 -05:00
parent 9bef54feb7
commit bf60dee52e

View File

@ -109,7 +109,7 @@ export function AnimatedEventCard({
<div
className="relative h-24 4k:h-32"
style={{
aspectRatio: aspectRatio,
aspectRatio: alertVideos ? aspectRatio : undefined,
}}
onMouseEnter={isDesktop ? () => setIsHovered(true) : undefined}
onMouseLeave={isDesktop ? () => setIsHovered(false) : undefined}