File tree Expand file tree Collapse file tree
src/components/Layout/TopNav Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,11 +250,13 @@ export default function TopNav({
250250 className = { cn (
251251 isMenuOpen
252252 ? 'h-screen sticky top-0 lg:bottom-0 lg:h-screen flex flex-col shadow-nav dark:shadow-nav-dark z-20'
253- : 'z-40 sticky top-0'
253+ : 'z-40 sticky top-0 backdrop-filter backdrop-blur-lg backdrop-saturate-200 '
254254 ) } >
255255 < nav
256256 className = { cn (
257- 'duration-300 backdrop-filter backdrop-blur-lg backdrop-saturate-200 transition-shadow bg-opacity-90 items-center w-full flex justify-between bg-wash dark:bg-wash-dark dark:bg-opacity-95 px-1.5 lg:pe-5 lg:ps-4 z-40' ,
257+ 'duration-300 transition-shadow bg-opacity-90 items-center w-full flex justify-between bg-wash dark:bg-wash-dark dark:bg-opacity-95 px-1.5 lg:pe-5 lg:ps-4 z-40' ,
258+ isMenuOpen &&
259+ 'backdrop-filter backdrop-blur-lg backdrop-saturate-200' ,
258260 { 'dark:shadow-nav-dark shadow-nav' : isScrolled || isMenuOpen }
259261 ) } >
260262 < div className = "flex items-center justify-between w-full h-16 gap-0 sm:gap-3" >
You can’t perform that action at this time.
0 commit comments