Skip to content

Commit

Permalink
Cleanup gifs (#10434)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 authored Mar 13, 2024
1 parent f9ed082 commit c88a263
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions web/src/components/image/AnimatedEventThumbnail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,15 @@ export function AnimatedEventThumbnail({ event }: AnimatedEventThumbnailProps) {
return (
<Tooltip>
<TooltipTrigger asChild>
<div className="w-max h-24 relative">
<div
className="h-24 relative"
style={{
aspectRatio: aspectRatio,
}}
>
<img
className="size-full rounded object-cover object-center cursor-pointer"
src={imageUrl}
style={{
aspectRatio: aspectRatio,
}}
onClick={onOpenReview}
onLoad={() => setLoaded(true)}
onError={() => {
Expand Down

0 comments on commit c88a263

Please sign in to comment.