Skip to content

NVR with realtime local object detection for IP cameras

Cleanup gifs (#10434)

Nicolas Mowenc88a263a239c
diff --git a/web/src/components/image/AnimatedEventThumbnail.tsx b/web/src/components/image/AnimatedEventThumbnail.tsx
index 0b21006f84..b990de5b7c 100644
--- a/web/src/components/image/AnimatedEventThumbnail.tsx
+++ b/web/src/components/image/AnimatedEventThumbnail.tsx
@@ -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={() => {