Cleanup gifs

This commit is contained in:
Nicolas Mowen 2024-03-13 14:44:33 -06:00
parent f9ed082e35
commit 8e2af6320e

View File

@ -45,13 +45,15 @@ export function AnimatedEventThumbnail({ event }: AnimatedEventThumbnailProps) {
return ( return (
<Tooltip> <Tooltip>
<TooltipTrigger asChild> <TooltipTrigger asChild>
<div className="w-max h-24 relative"> <div
className="h-24 relative"
style={{
aspectRatio: aspectRatio,
}}
>
<img <img
className="size-full rounded object-cover object-center cursor-pointer" className="size-full rounded object-cover object-center cursor-pointer"
src={imageUrl} src={imageUrl}
style={{
aspectRatio: aspectRatio,
}}
onClick={onOpenReview} onClick={onOpenReview}
onLoad={() => setLoaded(true)} onLoad={() => setLoaded(true)}
onError={() => { onError={() => {