From fd46e4f0b5ccfb805278fa8221acd5258aef2264 Mon Sep 17 00:00:00 2001 From: Chris Parsons <438676+chrisparsons83@users.noreply.github.com> Date: Mon, 23 Feb 2026 22:25:28 -0800 Subject: [PATCH] Show all draft picks in sidebar with scroll instead of last 10 (#33) - Remove 10-pick limit in SidebarRecentPicks - Fix scroll by using max-h-[45vh] on AccordionContent instead of the broken flex-1 approach (AccordionPrimitive.Content has overflow-hidden hardcoded, making flex-1 and overflow-y-auto ineffective without a bounded height) Co-authored-by: Claude Sonnet 4.6 --- app/components/DraftSidebar.tsx | 8 ++++---- app/components/draft/SidebarRecentPicks.tsx | 1 - app/routes/leagues/$leagueId.draft.$seasonId.tsx | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/components/DraftSidebar.tsx b/app/components/DraftSidebar.tsx index 7e346e8..dd6f9ae 100644 --- a/app/components/DraftSidebar.tsx +++ b/app/components/DraftSidebar.tsx @@ -86,11 +86,11 @@ export function DraftSidebar({ {/* Recent Picks Section */} - - -

Recent Picks

+ + +

Picks

- + {recentPicksSection}
diff --git a/app/components/draft/SidebarRecentPicks.tsx b/app/components/draft/SidebarRecentPicks.tsx index b8b91ad..fa4cf04 100644 --- a/app/components/draft/SidebarRecentPicks.tsx +++ b/app/components/draft/SidebarRecentPicks.tsx @@ -29,7 +29,6 @@ export function SidebarRecentPicks({ picks }: SidebarRecentPicksProps) { {picks .slice() .reverse() - .slice(0, 10) .map((pick) => (
-

Recent Picks

+

Picks