diff --git a/src/RaceChart.tsx b/src/RaceChart.tsx index c9ae49a..60813d7 100644 --- a/src/RaceChart.tsx +++ b/src/RaceChart.tsx @@ -57,11 +57,12 @@ const RaceChart: FC = ({ players, std }) => { y={index * barHeight + barHeight / 2 + padding + gap / 2} width={(1 - player.rank / maxValue) * width} height={barHeight - 8} // subtract 2 for some spacing between bars - fontSize="24px" + fontSize={`${barHeight - 1.5 * gap}px`} fill="aliceblue" stroke='#36c' - strokeWidth={0.8} + strokeWidth={1.6} fontWeight={"bold"} + paintOrder={"stroke fill"} >{player.name} ))}