Fixed timespan top margin

This commit is contained in:
Biki-das committed 2023-05-09 22:52:55 +05:30
1 parent 061ac27e5a
commit ccfe878763
1 file changed
+1 -1
+1 -1
View File
@@ -113,7 +113,7 @@ const AreaChart: React.FC<AreaChartProps> = ({
</RechartAreaChart>
</Container>
{data && (
<div className="text-scale-900 -mt-5 flex items-center justify-between text-xs">
<div className="text-scale-900 mt-5 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>