fix: close menu option incorrectly appearing at exactly 640px

This commit is contained in:
ManjaroOne666 2019-02-17 15:43:17 +00:00
parent dfda76379a
commit 711baa9989
1 changed files with 3 additions and 1 deletions

View File

@ -302,13 +302,15 @@ $transition-timing: .5s;
transition: opacity 0 $transition-timing;
opacity: 0;
pointer-events: none;
@at-root .menu.is-open & {
transition: opacity 1s $transition-timing + .2s;
opacity: 1;
pointer-events: auto;
}
@media (max-width: $bp__layout) {
@media (max-width: $bp__layout - .01em) {
display: initial;
}
}