fix tabs on stats table

This commit is contained in:
yohlo
2025-10-11 15:34:12 -05:00
parent 2ed5ab6026
commit b59c7cd7b6
4 changed files with 30 additions and 30 deletions

View File

@@ -6,6 +6,7 @@ import {
Group,
Box,
ThemeIcon,
Container,
Title,
Divider,
UnstyledButton,
@@ -291,7 +292,7 @@ const PlayerStatsTable = () => {
if (playerStats.length === 0) {
return (
<Box px={0} w="100%" maw="100%">
<Container px={0} size="md">
<Stack align="center" gap="md" py="xl">
<ThemeIcon size="xl" variant="light" radius="md">
<ChartBarIcon size={32} />
@@ -300,12 +301,12 @@ const PlayerStatsTable = () => {
No Stats Available
</Title>
</Stack>
</Box>
</Container>
);
}
return (
<Box px={0} mt="md" w="100%" maw="100%">
<Container size="100%" px={0} mt="md">
<Stack gap="xs">
<Text px="md" size="10px" lh={0} c="dimmed">
Showing {filteredAndSortedStats.length} of {playerStats.length} players
@@ -450,7 +451,7 @@ const PlayerStatsTable = () => {
</Text>
)}
</Stack>
</Box>
</Container>
);
};