diff --git a/templates/partials/header.html b/templates/partials/header.html index 396097a..04f4443 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -50,7 +50,7 @@ function showHamburger() { document.getElementById('header-container').className = "overflow-hidden"; - document.getElementById('hamburger').className = "absolute mt-16 z-20 top-0 inset-x-0 transition transform origin-top-right"; + document.getElementById('hamburger').className = "fixed mt-16 z-20 top-0 inset-x-0 transition transform origin-top-right"; document.getElementById('hamburger-btn').className = "hidden md: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"; } @@ -173,12 +173,12 @@ From: "opacity-100 scale-100" To: "opacity-0 scale-95" --> -