Made the navbar sticky

This commit is contained in:
SoumyadiptoPal
2023-10-24 22:27:55 +05:30
parent 5dbd240017
commit 9893480089

View File

@@ -172,7 +172,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
<>
{!navOpen && (
<button
className="duration-25 absolute relative 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);
}}