1
0
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:
Mateusz Kwasniewski 2024-06-03 15:28:28 +02:00 committed by GitHub
parent e8e2bd5e43
commit a1cecaf647
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>