From d19ab271906dd9e0f3b770d285461864c690cc53 Mon Sep 17 00:00:00 2001 From: spidunno Date: Mon, 27 May 2024 21:36:51 -0400 Subject: [PATCH] make borders work better with high item counts --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 72e92f9..832aa2e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -318,7 +318,7 @@ export default function App() { ? "yellow" : "white", stroke: "black", - "stroke-width": '1px', + "stroke-width": `${(1/itemCount()) * 8}%`, // height: `${((item + 1) / itemCount()) * 100}%`, // width: "100%", }}