fix: close menu option incorrectly appearing at exactly 640px
This commit is contained in:
parent
dfda76379a
commit
711baa9989
|
@ -302,13 +302,15 @@ $transition-timing: .5s;
|
||||||
|
|
||||||
transition: opacity 0 $transition-timing;
|
transition: opacity 0 $transition-timing;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
@at-root .menu.is-open & {
|
@at-root .menu.is-open & {
|
||||||
transition: opacity 1s $transition-timing + .2s;
|
transition: opacity 1s $transition-timing + .2s;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
pointer-events: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: $bp__layout) {
|
@media (max-width: $bp__layout - .01em) {
|
||||||
display: initial;
|
display: initial;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue