mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 20:25:26 +03:00
remove minimap opacity classes
This commit is contained in:
parent
d514f97e87
commit
0f08420636
@ -237,13 +237,7 @@ export function EventSegment({
|
|||||||
}, [showMinimap, isFirstSegmentInMinimap, events, segmentDuration]);
|
}, [showMinimap, isFirstSegmentInMinimap, events, segmentDuration]);
|
||||||
|
|
||||||
const segmentClasses = `flex flex-row ${
|
const segmentClasses = `flex flex-row ${
|
||||||
showMinimap
|
showMinimap ? (isInMinimapRange ? "bg-muted" : "bg-background") : ""
|
||||||
? isInMinimapRange
|
|
||||||
? "bg-card"
|
|
||||||
: isLastSegmentInMinimap
|
|
||||||
? ""
|
|
||||||
: "opacity-70"
|
|
||||||
: ""
|
|
||||||
} ${
|
} ${
|
||||||
isFirstSegmentInMinimap || isLastSegmentInMinimap
|
isFirstSegmentInMinimap || isLastSegmentInMinimap
|
||||||
? "relative h-2 border-b border-gray-500"
|
? "relative h-2 border-b border-gray-500"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user