sidebar glitch fixed

This commit is contained in:
Muzakir Shah 2023-10-15 00:38:46 +05:00 committed by GitHub
parent 6b3cc62cbe
commit 88123261ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
ref={navRef} ref={navRef}
className={`${ className={`${
!navOpen && '-ml-96 md:-ml-[18rem]' !navOpen && '-ml-96 md:-ml-[18rem]'
} duration-20 fixed z-20 flex h-full w-72 flex-col border-r-2 bg-gray-50 transition-all`} } duration-20 fixed top-0 z-20 flex h-full w-72 flex-col border-r-2 bg-gray-50 transition-all`}
> >
<div className={'visible h-16 w-full border-b-2 md:h-12'}> <div className={'visible h-16 w-full border-b-2 md:h-12'}>
<button <button