From 4567e29d7c62867b30147bb69073c39bc3b4cd22 Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Mon, 24 Oct 2022 15:40:49 +0200
Subject: [PATCH] test header height issue

---
 assets/js/theme/nav/mainMenu.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/assets/js/theme/nav/mainMenu.js b/assets/js/theme/nav/mainMenu.js
index 3ea45a6d..5d6d4f03 100644
--- a/assets/js/theme/nav/mainMenu.js
+++ b/assets/js/theme/nav/mainMenu.js
@@ -52,8 +52,8 @@ class MainMenu {
 
     resize () {
         const isMobile = window.innerWidth <= breakpoints.md;
-        document.documentElement.style.setProperty('--header-height', this.element.offsetHeight + 'px');
-
+        // document.documentElement.style.setProperty('--header-height', this.element.offsetHeight + 'px');
+        
         // is state changed ?
         if (this.state.isMobile === isMobile) {
             return null;
-- 
GitLab