mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 04:19:03 +08:00
fix: overflowing last timestamp (#2271)
Co-authored-by: gitstart <gitstart@users.noreply.github.com> Co-authored-by: palashgdev <palashgdev@gmail.com>
This commit is contained in:
parent
c18fff6ae8
commit
c657f96032
@ -76,7 +76,11 @@ function Timeline({
|
|||||||
},0)`}
|
},0)`}
|
||||||
key={`${interval.label + interval.percentage + index}`}
|
key={`${interval.label + interval.percentage + index}`}
|
||||||
>
|
>
|
||||||
<text y={13} fill={isDarkMode ? 'white' : 'black'}>
|
<text
|
||||||
|
y={13}
|
||||||
|
x={index === intervals.length - 1 ? -10 : 0}
|
||||||
|
fill={isDarkMode ? 'white' : 'black'}
|
||||||
|
>
|
||||||
{interval.label}
|
{interval.label}
|
||||||
</text>
|
</text>
|
||||||
<line
|
<line
|
||||||
|
Loading…
x
Reference in New Issue
Block a user