Make whole button clickable

This commit is contained in:
Nicolas Mowen 2025-04-11 07:40:24 -06:00
parent 8c9045f662
commit add9f8e471

View File

@ -1479,17 +1479,17 @@ function FrigateCameraFeatures({
})} })}
</p> </p>
</div> </div>
<div className="flex flex-col gap-1"> <div
className="flex cursor-pointer flex-col gap-1"
onClick={() =>
navigate(`/settings?page=debug&camera=${camera.name}`)
}
>
<div className="flex items-center justify-between text-sm font-medium leading-none"> <div className="flex items-center justify-between text-sm font-medium leading-none">
{t("streaming.debugView", { {t("streaming.debugView", {
ns: "components/dialog", ns: "components/dialog",
})} })}
<LuExternalLink <LuExternalLink className="ml-2 inline-flex size-5" />
onClick={() =>
navigate(`/settings?page=debug&camera=${camera.name}`)
}
className="ml-2 inline-flex size-5 cursor-pointer"
/>
</div> </div>
</div> </div>
</div> </div>