There was an error while loading. Please reload this page.
1 parent b57d591 commit 74f277bCopy full SHA for 74f277b
1 file changed
atcoder-problems-frontend/src/components/SinglePieChart.tsx
@@ -75,7 +75,7 @@ export const SinglePieChart: React.FC<Props> = ({ data, hideLegend }) => {
75
76
return (
77
<div>
78
- <ResponsiveContainer width="100%" height={300}>
+ <ResponsiveContainer width="100%" aspect={1} maxHeight={300}>
79
<PieChart>
80
<Pie
81
activeIndex={activeIndex}
0 commit comments