UNCLASSIFIED

Commit 0a197bf8 authored by Anne Demey's avatar Anne Demey
Browse files

Adding larger click area to mobile menu links

parent 1b05da79
...@@ -37,13 +37,13 @@ const MenuItem = ({ name, to, onNavigate }) => { ...@@ -37,13 +37,13 @@ const MenuItem = ({ name, to, onNavigate }) => {
return ( return (
<Box flex={{ shrink: 0 }} basis="60px" background="white" justify="center"> <Box flex={{ shrink: 0 }} basis="60px" background="white" justify="center">
{isLink ? ( {isLink ? (
<Box background="white" pad="medium" align="center" direction="row"> <Link to={to} border={{ color: 'red' }}>
<Link to={to}> <Box background="white" pad="medium" align="center" direction="row">
<Text weight="bold" color="black" size="small"> <Text weight="bold" color="black" size="small">
{name} {name}
</Text> </Text>
</Link> </Box>
</Box> </Link>
) : ( ) : (
<Button onClick={() => onNavigate(name)} aria-haspopup="menu"> <Button onClick={() => onNavigate(name)} aria-haspopup="menu">
<Box <Box
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment