mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
fix vertical alignment of dates in area chart (#20133)
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user