Skip to content

Commit a9bb99d

Browse files
committed
Fix chart mobile sizing
1 parent 2a6acbf commit a9bb99d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Sponsorship.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ const Sponsorship = (): ReactElement => {
8080
<Typography variant="body1">{t("sponsorship.description2")}</Typography>
8181
<Typography variant="body1" paragraph>{t("sponsorship.description3")}</Typography>
8282
<Typography variant="h2" sx={{ my: 8 }}>{t("sponsorship.attendeesTitle")}</Typography>
83-
<Box sx={{ display: 'flex', justifyContent: 'center'}}>
84-
<Box sx={{ width: '50%' }}>
83+
<Box sx={{ display: 'flex', justifyContent: 'center', width: '100%' }}>
84+
<Box width={{ xs: '100%', sm: '75%', md: '50%' }} >
8585
<Pie data={data} />
8686
</Box>
8787
</Box>

0 commit comments

Comments
 (0)