* Adjust text size

* Make cursor consistent

* Fix lint
This commit is contained in:
Nicolas Mowen 2024-10-15 09:37:04 -06:00 committed by GitHub
parent 25043278ab
commit b75efcbca2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 4 deletions

View File

@ -6,7 +6,6 @@ import logging
import os
import time
import onnxruntime as ort
from numpy import ndarray
from PIL import Image
from playhouse.shortcuts import model_to_dict

View File

@ -112,7 +112,7 @@ export default function SearchThumbnailFooter({
onEventUploaded={() => {}}
/>
<div className="flex flex-col items-start">
<div className="flex flex-col items-start text-xs">
{searchResult.end_time ? (
<TimeAgo time={searchResult.start_time * 1000} dense />
) : (
@ -182,11 +182,17 @@ export default function SearchThumbnailFooter({
</a>
</DropdownMenuItem>
)}
<DropdownMenuItem onClick={showObjectLifecycle}>
<DropdownMenuItem
className="cursor-pointer"
onClick={showObjectLifecycle}
>
<FaArrowsRotate className="mr-2 size-4" />
<span>View object lifecycle</span>
</DropdownMenuItem>
<DropdownMenuItem onClick={() => setDeleteDialogOpen(true)}>
<DropdownMenuItem
className="cursor-pointer"
onClick={() => setDeleteDialogOpen(true)}
>
<LuTrash2 className="mr-2 size-4" />
<span>Delete</span>
</DropdownMenuItem>