Skip to content

Commit

Permalink
feat(frontend): move to using new grid container
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Dec 7, 2024
1 parent 31f9713 commit 1017d92
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions apps/frontend/app/routes/_dashboard.analytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
Button,
Container,
Flex,
Grid,
Group,
Loader,
Menu,
Expand Down Expand Up @@ -158,11 +159,17 @@ export default function Page() {
</Menu.Dropdown>
</Menu>
</SimpleGrid>
<SimpleGrid cols={{ base: 1, md: 2 }}>
<MusclesChart />
<ExercisesChart />
<TimeOfDayChart />
</SimpleGrid>
<Grid>
<Grid.Col span={{ base: 12, md: 6 }}>
<MusclesChart />
</Grid.Col>
<Grid.Col span={{ base: 12, md: 6 }}>
<ExercisesChart />
</Grid.Col>
<Grid.Col span={{ base: 12, md: 6 }}>
<TimeOfDayChart />
</Grid.Col>
</Grid>
</Stack>
</Container>
<Flex w="100%" mt="md">
Expand Down

0 comments on commit 1017d92

Please sign in to comment.