mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-23 13:46:45 +02:00
fix: mobile menu font size (#7252)
This commit is contained in:
parent
e8e2bd5e43
commit
a1cecaf647
@ -74,11 +74,14 @@ export const ExternalFullListItem: FC<{ href: string; text: string }> = ({
|
|||||||
dense={true}
|
dense={true}
|
||||||
component={Link}
|
component={Link}
|
||||||
to={href}
|
to={href}
|
||||||
|
sx={listItemButtonStyle}
|
||||||
rel='noopener noreferrer'
|
rel='noopener noreferrer'
|
||||||
target='_blank'
|
target='_blank'
|
||||||
>
|
>
|
||||||
<StyledListItemIcon>{children}</StyledListItemIcon>
|
<StyledListItemIcon>{children}</StyledListItemIcon>
|
||||||
<StyledListItemText primary={text} />
|
<StyledListItemText>
|
||||||
|
<CappedText>{text}</CappedText>
|
||||||
|
</StyledListItemText>
|
||||||
</ListItemButton>
|
</ListItemButton>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
);
|
);
|
||||||
@ -87,11 +90,18 @@ export const SignOutItem = () => {
|
|||||||
return (
|
return (
|
||||||
<form method='POST' action={`${basePath}/logout`}>
|
<form method='POST' action={`${basePath}/logout`}>
|
||||||
<ListItem disablePadding>
|
<ListItem disablePadding>
|
||||||
<ListItemButton dense={true} component='button' type='submit'>
|
<ListItemButton
|
||||||
|
dense={true}
|
||||||
|
component='button'
|
||||||
|
type='submit'
|
||||||
|
sx={listItemButtonStyle}
|
||||||
|
>
|
||||||
<StyledListItemIcon>
|
<StyledListItemIcon>
|
||||||
<SignOutIcon />
|
<SignOutIcon />
|
||||||
</StyledListItemIcon>
|
</StyledListItemIcon>
|
||||||
<StyledListItemText primary='Sign out' />
|
<StyledListItemText>
|
||||||
|
<CappedText>Sign out</CappedText>
|
||||||
|
</StyledListItemText>
|
||||||
</ListItemButton>
|
</ListItemButton>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user