Show object score

This commit is contained in:
Nicolas Mowen 2024-10-15 06:23:41 -06:00
parent 5684e4124b
commit 216e54a962

View File

@ -86,10 +86,11 @@ export default function SearchThumbnail({
<TooltipTrigger asChild>
<div className="mx-3 pb-1 text-sm text-white">
<Chip
className={`z-0 flex items-start justify-between space-x-1 bg-gray-500 bg-gradient-to-br from-gray-400 to-gray-500`}
className={`z-0 flex items-center justify-between gap-1 space-x-1 bg-gray-500 bg-gradient-to-br from-gray-400 to-gray-500 text-xs`}
onClick={() => onClick(searchResult)}
>
{getIconForLabel(objectLabel, "size-3 text-white")}
{Math.round(searchResult.data.score * 100)}%
</Chip>
</div>
</TooltipTrigger>