Make dropdown items full height & width - make hit slop bigger

Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
This commit is contained in:
hiba-aldalaty
2021-11-19 10:32:06 +00:00
parent 560c7c0cfe
commit 3805cd7d36
@@ -69,9 +69,13 @@ const useStyles = makeStyles<BackstageTheme>(theme => ({
alignItems: 'end',
},
dropdownItem: {
width: '72%',
margin: '10px 0 10px 0',
width: '100%',
padding: '10px 0 10px 0',
},
textContent: {
color: theme.palette.navigation.color,
display: 'flex',
justifyContent: 'center',
},
}));
@@ -144,7 +148,9 @@ export const SubmenuItem = ({
onClick={closeSubmenu}
key={key}
>
{object.title}
<Typography variant="subtitle2" className={classes.textContent}>
{object.title}
</Typography>
</Link>
))}
</div>