Skip to content

Commit

Permalink
feat(timeline): make position functioning of timeline height
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrantgupta25 committed Jan 7, 2025
1 parent ac6ca85 commit 651dce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/TimelineV2/TimelineV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ function TimelineV2(props: ITimelineV2Props): JSX.Element {
>
<text
x={index === intervals.length - 1 ? -10 : 0}
y={13}
y={2 * Math.floor(timelineHeight / 4)}
fill={isDarkMode ? 'white' : 'black'}
>
{interval.label}
</text>
<line
y1={timelineHeight - 5}
y1={3 * Math.floor(timelineHeight / 4)}
y2={timelineHeight + 0.5}
stroke={isDarkMode ? 'white' : 'black'}
strokeWidth="1"
Expand Down

0 comments on commit 651dce1

Please # to comment.