Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
fether
Commits
e122b380
Commit
e122b380
authored
Jan 15, 2019
by
Luke Schoen
Browse files
review-fix: Add menu underlayer to prevent clicking other links when close menu
parent
c65547aa
Pipeline
#28305
passed with stage
in 3 minutes and 22 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
packages/fether-react/src/Tokens/Tokens.js
View file @
e122b380
...
...
@@ -61,7 +61,8 @@ class Tokens extends PureComponent {
}
return
(
<
div
>
<
div
className
=
'
tokens
'
>
<
div
className
=
{
isMenuOpen
?
'
popup-underlay
'
:
''
}
/
>
<
MenuPopup
className
=
'
popup-menu-account
'
context
=
{
menuNode
}
...
...
packages/fether-react/src/assets/sass/components/_popup.scss
View file @
e122b380
.popup-underlay
{
background
:
transparent
;
bottom
:
0
;
height
:
100%
;
left
:
0
;
position
:
fixed
;
right
:
0
;
top
:
0
;
width
:
100%
;
z-index
:
1899
;
/* Under the menu popup */
}
.popup-menu-account
{
/* Override SUI popup styles so popup does not appear above menu icon */
background
:
$white
!
important
;
...
...
packages/fether-react/src/assets/sass/components/_token.scss
View file @
e122b380
.tokens
{
position
:
relative
;
}
.token
{
display
:
flex
;
align-items
:
center
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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