From 711baa998966fed6e13a52200092b4b1de184ea4 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Sun, 17 Feb 2019 15:43:17 +0000 Subject: [PATCH] fix: close menu option incorrectly appearing at exactly 640px --- components/SiteMenu.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/SiteMenu.vue b/components/SiteMenu.vue index c3558de..6783727 100644 --- a/components/SiteMenu.vue +++ b/components/SiteMenu.vue @@ -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; } }