mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-22 20:18:30 +03:00
fix text color on genai summary chip
This commit is contained in:
parent
9f508fe990
commit
108cc36d68
@ -26,7 +26,9 @@ export function GenAISummaryChip({ review }: GenAISummaryChipProps) {
|
|||||||
className={cn(
|
className={cn(
|
||||||
"absolute left-1/2 top-8 z-30 flex max-w-[90vw] -translate-x-[50%] cursor-pointer select-none items-center gap-2 rounded-full p-2 text-sm transition-all duration-500",
|
"absolute left-1/2 top-8 z-30 flex max-w-[90vw] -translate-x-[50%] cursor-pointer select-none items-center gap-2 rounded-full p-2 text-sm transition-all duration-500",
|
||||||
isVisible ? "translate-y-0 opacity-100" : "-translate-y-4 opacity-0",
|
isVisible ? "translate-y-0 opacity-100" : "-translate-y-4 opacity-0",
|
||||||
isDesktop ? "bg-card" : "bg-secondary-foreground",
|
isDesktop
|
||||||
|
? "bg-card text-primary"
|
||||||
|
: "bg-secondary-foreground text-white",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<MdAutoAwesome className="shrink-0" />
|
<MdAutoAwesome className="shrink-0" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user