mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-12 01:17:04 +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}
|
||||
component={Link}
|
||||
to={href}
|
||||
sx={listItemButtonStyle}
|
||||
rel='noopener noreferrer'
|
||||
target='_blank'
|
||||
>
|
||||
<StyledListItemIcon>{children}</StyledListItemIcon>
|
||||
<StyledListItemText primary={text} />
|
||||
<StyledListItemText>
|
||||
<CappedText>{text}</CappedText>
|
||||
</StyledListItemText>
|
||||
</ListItemButton>
|
||||
</ListItem>
|
||||
);
|
||||
@ -87,11 +90,18 @@ export const SignOutItem = () => {
|
||||
return (
|
||||
<form method='POST' action={`${basePath}/logout`}>
|
||||
<ListItem disablePadding>
|
||||
<ListItemButton dense={true} component='button' type='submit'>
|
||||
<ListItemButton
|
||||
dense={true}
|
||||
component='button'
|
||||
type='submit'
|
||||
sx={listItemButtonStyle}
|
||||
>
|
||||
<StyledListItemIcon>
|
||||
<SignOutIcon />
|
||||
</StyledListItemIcon>
|
||||
<StyledListItemText primary='Sign out' />
|
||||
<StyledListItemText>
|
||||
<CappedText>Sign out</CappedText>
|
||||
</StyledListItemText>
|
||||
</ListItemButton>
|
||||
</ListItem>
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user