Merge pull request #688 from SoumyadiptoPal/stickyNavbar

Feature: left side toggle button should be sticky
This commit is contained in:
Alex
2023-10-25 22:23:57 +01:00
committed by GitHub

View File

@@ -172,7 +172,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
<>
{!navOpen && (
<button
className="duration-25 absolute top-3 left-3 z-20 hidden transition-all md:block"
className="duration-25 absolute sticky top-3 left-3 z-20 hidden transition-all md:block"
onClick={() => {
setNavOpen(!navOpen);
}}