fix: spacingg between count_by_user

This commit is contained in:
diced 2023-03-04 17:58:35 -08:00
parent 4912a872e0
commit 4fe4faa202
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -34,9 +34,11 @@ export default function Types() {
return !latest ? ( return !latest ? (
<LoadingOverlay visible={stats.isLoading} /> <LoadingOverlay visible={stats.isLoading} />
) : ( ) : (
<Box mt='md'> <Box my='md'>
{latest.data.count_by_user.length ? ( {latest.data.count_by_user.length ? (
<Card> <Card my='md'>
<Title size='h4'>Top Uploaders</Title>
<SmallTable <SmallTable
columns={[ columns={[
{ id: 'username', name: 'Name' }, { id: 'username', name: 'Name' },
@ -46,7 +48,7 @@ export default function Types() {
/> />
</Card> </Card>
) : null} ) : null}
<Card> <Card my='md'>
<Title size='h4'>Upload Types</Title> <Title size='h4'>Upload Types</Title>
<Grid> <Grid>
<Grid.Col md={12} lg={8}> <Grid.Col md={12} lg={8}>