Skip to content

Commit

Permalink
UI tweaks (#14369)
Browse files Browse the repository at this point in the history
* Adjust text size

* Make cursor consistent

* Fix lint
  • Loading branch information
NickM-27 authored Oct 15, 2024
1 parent 2504327 commit b75efcb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion frigate/embeddings/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import os
import time

import onnxruntime as ort
from numpy import ndarray
from PIL import Image
from playhouse.shortcuts import model_to_dict
Expand Down
12 changes: 9 additions & 3 deletions web/src/components/card/SearchThumbnailFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
) : (
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit b75efcb

Please sign in to comment.