From ea125e0d5e889e49aca941d83d84ee4d1e37a1a7 Mon Sep 17 00:00:00 2001 From: Chris Parsons <438676+chrisparsons83@users.noreply.github.com> Date: Tue, 19 May 2026 23:31:40 -0700 Subject: [PATCH] Fix draft room Summary tab layout and board scroll clipping (#452) - 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}