Saturday, 4 November 2023

Connecting Lines in a Single Elimination UI with an Odd Number of Players - react

I'm building a Single Elimination UI using React and CSS, and I've got an issue when trying to connect lines between players.

I tried this way. drawn a line over it. but structure got failed. Here's the code i tried https://codesandbox.io/s/single-elimination-torunament-forked-qqlxm4?file=/src/SingleElimination.jsx But it failed due to improper structure of boxes. and lines are not drawing if it not comes under viewport

enter image description here

required structure was

enter image description here

please suggest me with some solutions.



from Connecting Lines in a Single Elimination UI with an Odd Number of Players - react

No comments:

Post a Comment