fix vertical alignment of dates in area chart (#20133)

This commit is contained in:
Jordi Enric authored and GitHub committed 2024-01-03 16:01:56 +00:00
1 parent 758c4572d1
commit 15463a5a4b
1 file changed
+1 -1
@@ -107,7 +107,7 @@ const AreaChart = ({
</RechartAreaChart>
</Container>
{data && (
<div className="text-foreground-lighter -mt-2 flex items-center justify-between text-xs">
<div className="text-foreground-lighter -mt-8 flex items-center justify-between text-xs">
<span>{dayjs(data[0][xAxisKey]).format(customDateFormat)}</span>
<span>{dayjs(data[data?.length - 1]?.[xAxisKey]).format(customDateFormat)}</span>
</div>