From 36cedf84a7da055749b3ad7749f854ff33d9b83f Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Tue, 19 May 2026 23:23:10 -0700 Subject: [PATCH] Fix draft room Summary tab layout and board scroll clipping - Add display:contents to rowgroup divs in DraftSummaryView so cells flow correctly into the CSS grid (sports as rows, teams as columns) - Use opaque bg-muted on team column headers to prevent content bleeding through during sticky scroll - Remove whitespace-nowrap and add break-words on sport row headers so long names like "FIFA Men's World Cup" wrap within the column - Add pb-4 to DraftGridSection scroll wrapper so the last pick row isn't flush against the scroll boundary Co-Authored-By: Claude Sonnet 4.6 --- app/components/draft/DraftGridSection.tsx | 2 +- app/components/draft/DraftSummaryView.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/draft/DraftGridSection.tsx b/app/components/draft/DraftGridSection.tsx index 9c990f0..00f220f 100644 --- a/app/components/draft/DraftGridSection.tsx +++ b/app/components/draft/DraftGridSection.tsx @@ -101,7 +101,7 @@ export const DraftGridSection = memo(function DraftGridSection({ return (
-
+
{/* Team Headers */}
{draftSlots.map((slot) => { diff --git a/app/components/draft/DraftSummaryView.tsx b/app/components/draft/DraftSummaryView.tsx index 20a91f9..afb75ae 100644 --- a/app/components/draft/DraftSummaryView.tsx +++ b/app/components/draft/DraftSummaryView.tsx @@ -76,7 +76,7 @@ export const DraftSummaryView = memo(function DraftSummaryView({
{/* Header row */} -
+
Sport @@ -93,7 +93,7 @@ export const DraftSummaryView = memo(function DraftSummaryView({
{/* end rowgroup */} {/* Data rows */} -
+
{sports.map((sport, sportIndex) => { const isLastRow = sportIndex === sports.length - 1; const { total: sportTotal, teams: sportTeamCount } = @@ -128,7 +128,7 @@ export const DraftSummaryView = memo(function DraftSummaryView({ return (
-
+
{sport.name}