Skip to content

Commit

Permalink
fix: Adjust chart height
Browse files Browse the repository at this point in the history
  • Loading branch information
hampfh committed Dec 23, 2024
1 parent cf6b336 commit 57d4e82
Showing 1 changed file with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,9 @@ export function RatingChartCard({
: "Rating distribution for the selected round"}
</CardTitle>
</CardHeader>
<CardContent>
<ResponsiveContainer width="100%" height={300}>
<BarChart
data={data}
margin={{
top: 5,
right: 30,
left: 20,
bottom: 5,
}}
>
<CardContent className="!pb-0">
<ResponsiveContainer width="100%" height={200}>
<BarChart data={data}>
<XAxis dataKey="name" />
<YAxis domain={[0, "dataMax"]} />
<Tooltip />
Expand Down

0 comments on commit 57d4e82

Please sign in to comment.