Skip to content

Commit

Permalink
make borders work better with high item counts
Browse files Browse the repository at this point in the history
  • Loading branch information
spidunno committed May 28, 2024
1 parent 5edceea commit d19ab27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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%",
}}
Expand Down

0 comments on commit d19ab27

Please sign in to comment.