From d0c76112c9c67f63044be8c1ac6ff8d817eaf989 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 20 Mar 2026 01:41:51 +0900 Subject: fix(frontend): fix quarter-final bracket horizontal lines overshooting leg positions Replace grid-based horizontal line positioning with flex + fixed 25% width approach. The grid calculation broke at colSpan=2 because Math.floor(1/2)=0 couldn't express half-column offsets. Also remove seed number display from player cards. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/app/pages/TournamentPage.tsx | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (limited to 'frontend') diff --git a/frontend/app/pages/TournamentPage.tsx b/frontend/app/pages/TournamentPage.tsx index 3d954c9..01fcb9b 100644 --- a/frontend/app/pages/TournamentPage.tsx +++ b/frontend/app/pages/TournamentPage.tsx @@ -48,7 +48,6 @@ function PlayerCard({ entry }: { entry: TournamentEntry | undefined }) { return (
- Seed {entry.seed} {entry.user.display_name} @@ -106,24 +105,9 @@ function Connector({ )} {/* Horizontal line */} -
-
-
+
+
+
{/* Two legs going DOWN to child elements */} -- cgit v1.3.1