Set `visibility: hidden` on menu if not visible (fixes #1025)

master
Surma 2015-08-17 11:33:29 +01:00
parent 5ecad543e6
commit 62588c3ed4
1 changed files with 4 additions and 1 deletions

View File

@ -26,10 +26,13 @@
overflow: visible;
height: 0;
width: 0;
visibility: hidden;
z-index: -1;
&.is-visible {
&.is-visible,
&.is-animating {
z-index: 999;
visibility: visible;
}
}