fix: height error from recharts library

This commit is contained in:
RadoslavDimchev 2023-10-20 10:18:31 +03:00
parent fec0532519
commit 26196d64bf
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ const UptimeChart = ({ monthlyActivity, startMonth, endMonth, withLabels }: Upti
<Bar dataKey="eight" barSize={10} fill="#E95460" />
<Bar dataKey="nine" barSize={10} fill="#E95460" />
<Bar dataKey="ten" barSize={10} fill="#E95460" />
{withLabels && <XAxis dataKey="name" fontSize={'10px'} tickMargin={10} />}
{withLabels && <XAxis dataKey="name" fontSize={'10px'} tickMargin={10} height={24} />}
</BarChart>
</ResponsiveContainer>
)