NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
add padding to dropdown text (#22420)
Josh Hawkinsb147b5352248
diff --git a/web/src/pages/FaceLibrary.tsx b/web/src/pages/FaceLibrary.tsxindex 7595b3cd95..666057110f 100644--- a/web/src/pages/FaceLibrary.tsx+++ b/web/src/pages/FaceLibrary.tsx@@ -598,18 +598,18 @@ function LibrarySelector({{Object.values(faces).map((face) => (<DropdownMenuItemkey={face}- className="group flex items-center justify-between"+ className="group flex items-center justify-between p-0"><divclassName="flex-grow cursor-pointer"onClick={() => setPageToggle(face)}>{face}- <span className="ml-2 text-muted-foreground">+ <span className="ml-2 px-2 py-1.5 text-muted-foreground">({faceData?.[face].length})</span></div>- <div className="flex gap-0.5">+ <div className="flex gap-0.5 px-2"><Tooltip><TooltipTrigger asChild><Buttondiff --git a/web/src/views/classification/ModelTrainingView.tsx b/web/src/views/classification/ModelTrainingView.tsxindex 43679b5b06..25214b703e 100644--- a/web/src/views/classification/ModelTrainingView.tsx+++ b/web/src/views/classification/ModelTrainingView.tsx@@ -709,10 +709,10 @@ function LibrarySelector({.map((id) => (<DropdownMenuItemkey={id}- className="group flex items-center justify-between"+ className="group flex items-center justify-between p-0"><div- className="flex-grow cursor-pointer capitalize"+ className="flex-grow cursor-pointer px-2 py-1.5 capitalize"onClick={() => setPageToggle(id)}>{id === "none" ? t("details.none") : id.replaceAll("_", " ")}@@ -721,7 +721,7 @@ function LibrarySelector({</span></div>{id != "none" && (- <div className="flex gap-0.5">+ <div className="flex gap-0.5 px-2"><Tooltip><TooltipTrigger asChild><Button