Skip to content

Commit dfefc91

Browse files
authored
[Human App] fix: set mobile drawer items to h5 (#2716)
1 parent c536638 commit dfefc91

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/apps/human-app/frontend/src/components/layout/protected/drawer-navigation.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,10 @@ export function DrawerNavigation({
165165
<ListItemText
166166
disableTypography
167167
primary={
168-
<Typography component="span" variant="body1">
168+
<Typography
169+
component="span"
170+
variant={isMobile ? 'h5' : 'body1'}
171+
>
169172
{label}
170173
</Typography>
171174
}
@@ -251,7 +254,10 @@ export function DrawerNavigation({
251254
<ListItemText
252255
disableTypography
253256
primary={
254-
<Typography component="span" variant="body1">
257+
<Typography
258+
component="span"
259+
variant={isMobile ? 'h5' : 'body1'}
260+
>
255261
{label}
256262
</Typography>
257263
}

0 commit comments

Comments
 (0)