mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
fix: marker time image
This commit is contained in:
parent
061fb15a80
commit
0879d7a2d1
@ -20,11 +20,11 @@ export const TimelineBlocks = ({ timeline, firstBlockOffset, onEventClick }: Tim
|
|||||||
const timelineBlockOffset = (timelineContainerHeight - largestYOffsetInBlocks) / 2;
|
const timelineBlockOffset = (timelineContainerHeight - largestYOffsetInBlocks) / 2;
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className='relative'
|
className="relative"
|
||||||
style={{
|
style={{
|
||||||
height: `${timelineContainerHeight}px`,
|
height: `${timelineContainerHeight}px`,
|
||||||
width: `${timelineContainerWidth}px`,
|
width: `${timelineContainerWidth}px`,
|
||||||
background: "url('/marker.png')",
|
background: "url('/images/marker.png')",
|
||||||
backgroundPosition: 'center',
|
backgroundPosition: 'center',
|
||||||
backgroundSize: '30px',
|
backgroundSize: '30px',
|
||||||
backgroundRepeat: 'repeat',
|
backgroundRepeat: 'repeat',
|
||||||
@ -41,7 +41,7 @@ export const TimelineBlocks = ({ timeline, firstBlockOffset, onEventClick }: Tim
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return <div />
|
return <div />;
|
||||||
}, [timeline, onEventClick, firstBlockOffset]);
|
}, [timeline, onEventClick, firstBlockOffset]);
|
||||||
|
|
||||||
return timelineEventBlocks;
|
return timelineEventBlocks;
|
||||||
|
Loading…
Reference in New Issue
Block a user