UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Apps
AFEIT
Commits
0a197bf8
Commit
0a197bf8
authored
Apr 09, 2021
by
Anne Demey
Browse files
Adding larger click area to mobile menu links
parent
1b05da79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/components/mega-menu/MegaMobileMenu.js
src/components/mega-menu/MegaMobileMenu.js
+4
-4
No files found.
src/components/mega-menu/MegaMobileMenu.js
View file @
0a197bf8
...
@@ -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
...
...
Ben Wynn
@bwynn
mentioned in commit
e8be170e
·
Apr 09, 2021
mentioned in commit
e8be170e
mentioned in commit e8be170e36824ebc9cd3d8ca33733609d4098de0
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment