fix verified icon overlay in debug view list

This commit is contained in:
Josh Hawkins 2026-01-27 10:32:35 -06:00
parent a2e2b70c61
commit 789a7d12a2
2 changed files with 5 additions and 5 deletions

View File

@ -173,9 +173,9 @@ function getVerifiedIcon(
const simpleLabel = label.substring(0, label.lastIndexOf("-"));
return (
<div key={label} className="flex items-center">
<div key={label} className="relative flex items-center">
{getIconForLabel(simpleLabel, type, className)}
<FaCheckCircle className="absolute size-2 translate-x-[80%] translate-y-3/4" />
<FaCheckCircle className="absolute -bottom-0.5 -right-0.5 size-2" />
</div>
);
}
@ -188,9 +188,9 @@ function getRecognizedPlateIcon(
const simpleLabel = label.substring(0, label.lastIndexOf("-"));
return (
<div key={label} className="flex items-center">
<div key={label} className="relative inline-flex items-center">
{getIconForLabel(simpleLabel, type, className)}
<LuScanBarcode className="absolute size-2.5 translate-x-[50%] translate-y-3/4" />
<LuScanBarcode className="absolute -bottom-0.5 -right-0.5 size-2" />
</div>
);
}

View File

@ -391,7 +391,7 @@ function ObjectList({ cameraConfig, objects }: ObjectListProps) {
);
return (
<div className="scrollbar-container flex w-full flex-col overflow-y-auto">
<div className="scrollbar-container relative flex w-full flex-col overflow-y-auto">
{objects && objects.length > 0 ? (
objects.map((obj: ObjectType) => {
return (