Skip to content

NVR with realtime local object detection for IP cameras

Fix width of object lifecycle buttons (#14729)

Josh Hawkins1234003527b0
diff --git a/web/src/components/overlay/detail/ObjectLifecycle.tsx b/web/src/components/overlay/detail/ObjectLifecycle.tsx
index bebf5e2f58..d687915ca0 100644
--- a/web/src/components/overlay/detail/ObjectLifecycle.tsx
+++ b/web/src/components/overlay/detail/ObjectLifecycle.tsx
@@ -521,10 +521,7 @@ export default function ObjectLifecycle({
{eventSequence.map((item, index) => (
<CarouselItem
key={index}
- className={cn(
- "basis-1/4 cursor-pointer pl-1 md:basis-[10%]",
- fullscreen && "md:basis-16",
- )}
+ className={cn("basis-auto cursor-pointer pl-1")}
onClick={() => handleThumbnailClick(index)}
>
<div className="p-1">