diff --git a/src/components/player/player-rank-chart.tsx b/src/components/player/player-rank-chart.tsx index 8911375..e42ea0e 100644 --- a/src/components/player/player-rank-chart.tsx +++ b/src/components/player/player-rank-chart.tsx @@ -315,7 +315,24 @@ export default function PlayerRankChart({ player }: Props) { return (
- + { + const originalFit = chart.legend.fit; + + chart.legend.fit = function fit() { + originalFit.bind(chart.legend)(); + this.height += 2; + }; + }, + }, + ]} + />
); }