From 2ed5ab602664631068743c4b1255bf47edf673d4 Mon Sep 17 00:00:00 2001 From: yohlo Date: Sat, 11 Oct 2025 15:23:33 -0500 Subject: [PATCH] fix stats table --- src/components/swipeable-tabs.tsx | 4 +++- src/features/players/components/player-stats-table.tsx | 9 ++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/swipeable-tabs.tsx b/src/components/swipeable-tabs.tsx index fa565e1..08428d9 100644 --- a/src/components/swipeable-tabs.tsx +++ b/src/components/swipeable-tabs.tsx @@ -207,11 +207,13 @@ function SwipeableTabs({ height: carouselHeight === "auto" ? "auto" : `${carouselHeight}px`, transition: "height 300ms ease", touchAction: "pan-y", + width: "100%", + maxWidth: "100vw", }} > {tabs.map((tab, index) => ( - + {tab.content} diff --git a/src/features/players/components/player-stats-table.tsx b/src/features/players/components/player-stats-table.tsx index e602c08..0f8d861 100644 --- a/src/features/players/components/player-stats-table.tsx +++ b/src/features/players/components/player-stats-table.tsx @@ -6,7 +6,6 @@ import { Group, Box, ThemeIcon, - Container, Title, Divider, UnstyledButton, @@ -292,7 +291,7 @@ const PlayerStatsTable = () => { if (playerStats.length === 0) { return ( - + @@ -301,12 +300,12 @@ const PlayerStatsTable = () => { No Stats Available - + ); } return ( - + Showing {filteredAndSortedStats.length} of {playerStats.length} players @@ -451,7 +450,7 @@ const PlayerStatsTable = () => { )} - + ); };