From ea6e2d4c7a164bf6c52176b1daa5a537f94b72b2 Mon Sep 17 00:00:00 2001 From: Jared He <66887902+jaredjhe@users.noreply.github.com> Date: Sat, 18 Jun 2022 20:55:04 -0400 Subject: [PATCH] Reduce corner --- components/PieChart.module.css | 1 + components/PieChart.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/PieChart.module.css b/components/PieChart.module.css index 800692e..699ab34 100644 --- a/components/PieChart.module.css +++ b/components/PieChart.module.css @@ -5,6 +5,7 @@ .text { display: none; fill: white; + font-weight: 800; } .group:hover>.path { diff --git a/components/PieChart.tsx b/components/PieChart.tsx index 0342ddb..0034c70 100644 --- a/components/PieChart.tsx +++ b/components/PieChart.tsx @@ -31,7 +31,7 @@ export function PieChart(props: PieChartProps) { fill="aqua" pieValue={(d: PieChartData) => d.value} outerRadius={100} - cornerRadius={3} + cornerRadius={5} padAngle={0.1} > {(pie) => }