Change pointer events on language dropdown (#233)

The dropdown positioning makes it overlay the main menu on mobile layout. This means that clicking the language button a second time doesn't close the menu.
This commit is contained in:
Ricky Vetter 2017-11-16 09:23:54 -08:00 committed by Joel Marcey
parent 09726c6361
commit 71dec39c3b

View file

@ -1009,6 +1009,8 @@ pre code {
#languages-dropdown {
position: absolute;
width:100%;
/* positioning can block the main menu on mobile */
pointer-events: none;
}
#languages-dropdown.visible {
display: flex;
@ -1021,6 +1023,7 @@ ul#languages-dropdown-items {
background-color: $primaryColor;
flex-direction: column;
min-width: 120px;
pointer-events: all;
}
ul#languages li {