Cleanup gifs (#10434)

This commit is contained in:
Nicolas Mowen 2024-03-13 16:37:15 -06:00 committed by GitHub
parent f9ed082e35
commit c88a263a23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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