diff --git a/templates/partials/header.html b/templates/partials/header.html index a173693..12e7a00 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -9,7 +9,7 @@ var hamburgerShown = false; let width = screen.width; - var isMobile = width < 640; + var isMobile = width < 1024; function toggleMenu(button) { if (displayedMenu === button.id.split("-")[0]) { @@ -52,7 +52,7 @@ function showHamburger() { document.getElementById('header-container').className = "overflow-hidden"; - document.getElementById('hamburger').className = "fixed mt-16 z-20 top-0 inset-x-0 transition transform origin-top-right"; + document.getElementById('hamburger').className = "fixed mt-12 z-20 top-0 inset-x-0 transition transform origin-top-right"; document.getElementById('hamburger-btn').className = "hidden lg:hidden inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"; document.getElementById('close-hamburger-btn').className = "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"; } @@ -87,7 +87,7 @@