Skip to content

Commit a544b8f

Browse files
committed
chore: remove padding from drawer on mobile
1 parent 13971fa commit a544b8f

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/NavBar.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,36 +90,36 @@ const NavBar = (): ReactElement => {
9090
</AppBar>
9191
<Drawer open={isDrawerOpen} onClose={toggleDrawer(false)}>
9292
<Box sx={{ width: 250 }} role="presentation" onClick={toggleDrawer(false)}>
93-
<List>
94-
<ListItem sx={{ px: 0 }}>
93+
<List sx={{ p: 0 }}>
94+
<ListItem sx={{ p: 0 }}>
9595
<Link to="/" style={{ textDecoration: 'none', width: '100%' }}>
9696
<ListItemButton className={isActive('/') ? 'active' : ''}>
9797
<Typography>{t("navbar.home")}</Typography>
9898
</ListItemButton>
9999
</Link>
100100
</ListItem>
101-
<ListItem sx={{ px: 0 }}>
101+
<ListItem sx={{ p: 0 }}>
102102
<Link to="/sponsorship" style={{ textDecoration: 'none', width: '100%' }}>
103103
<ListItemButton className={isActive('/sponsorship') ? 'active' : ''}>
104104
<Typography>{t("navbar.sponsorship")}</Typography>
105105
</ListItemButton>
106106
</Link>
107107
</ListItem>
108-
<ListItem sx={{ px: 0 }}>
108+
<ListItem sx={{ p: 0 }}>
109109
<Link to="/about" style={{ textDecoration: 'none', width: '100%' }}>
110110
<ListItemButton className={isActive('/about') ? 'active' : ''}>
111111
<Typography>{t("navbar.aboutUs")}</Typography>
112112
</ListItemButton>
113113
</Link>
114114
</ListItem>
115-
<ListItem sx={{ px: 0 }}>
115+
<ListItem sx={{ p: 0 }}>
116116
<Link to="/code-of-conduct" style={{ textDecoration: 'none', width: '100%' }}>
117117
<ListItemButton className={isActive('/code-of-conduct') ? 'active' : ''}>
118118
<Typography>{t("navbar.codeOfConduct")}</Typography>
119119
</ListItemButton>
120120
</Link>
121121
</ListItem>
122-
<ListItem sx={{ px: 0 }}>
122+
<ListItem sx={{ p: 0 }}>
123123
<Link to="#" onClick={openSurvey} style={{ textDecoration: 'none', width: '100%' }}>
124124
<ListItemButton sx={{ height: '100%' }}>
125125
<Typography>{t("navbar.survey")}</Typography>

src/Sponsorship.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ const Sponsorship = (): ReactElement => {
309309
</Typography>
310310
</Box>
311311
<Typography variant="body2" sx={{ ml: 1, textAlign: 'center' }} color="text.secondary">
312-
{t("sponsorship.silverSemester", { peso: '$3,132 MXN', dolar: '$180 USD' })}
312+
{t("sponsorship.silverSemester", { peso: '$3,9132 MXN', dolar: '$180 USD' })}
313313
</Typography>
314314
</Box>
315315
<Box sx={{ display: 'flex', flexDirection: 'column', alignItems: 'center'}}>

0 commit comments

Comments
 (0)