mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-04 13:47:37 +02:00
Fix recording timeline info text in light mode (#7963)
This commit is contained in:
parent
0858859939
commit
f92237c9c1
@ -55,7 +55,7 @@ export default function TimelineEventOverlay({ eventOverlay, cameraConfig }) {
|
|||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
{isHovering && (
|
{isHovering && (
|
||||||
<div className="absolute bg-white dark:bg-slate-800 p-4 block dark:text-white text-lg" style={getHoverStyle()}>
|
<div className="absolute bg-white dark:bg-slate-800 p-4 block text-black dark:text-white text-lg" style={getHoverStyle()}>
|
||||||
<div>{`Area: ${getObjectArea()} px`}</div>
|
<div>{`Area: ${getObjectArea()} px`}</div>
|
||||||
<div>{`Ratio: ${getObjectRatio()}`}</div>
|
<div>{`Ratio: ${getObjectRatio()}`}</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user