mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 14:15:22 +03:00
keep gradients when still image is showing
This commit is contained in:
parent
168786ae7d
commit
aea5ff2986
@ -196,7 +196,7 @@ export default function LivePlayer({
|
||||
)}
|
||||
onClick={onClick}
|
||||
>
|
||||
{liveReady && (
|
||||
{((showStillWithoutActivity && !liveReady) || liveReady) && (
|
||||
<>
|
||||
<div className="pointer-events-none absolute inset-x-0 top-0 z-10 h-[30%] w-full rounded-lg bg-gradient-to-b from-black/20 to-transparent md:rounded-2xl"></div>
|
||||
<div className="pointer-events-none absolute inset-x-0 bottom-0 z-10 h-[10%] w-full rounded-lg bg-gradient-to-t from-black/20 to-transparent md:rounded-2xl"></div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user