fix: z-index 100 is higher than dropdown menu

This commit is contained in:
javayhu 2025-06-14 19:30:27 +08:00
parent 4015cb3143
commit ea0c74aa12

View File

@ -60,7 +60,7 @@ export function Navbar({ scroll }: NavBarProps) {
return (
<section
className={cn(
'sticky inset-x-0 top-0 z-100 py-4 transition-all duration-300',
'sticky inset-x-0 top-0 z-40 py-4 transition-all duration-300',
scroll
? scrolled
? 'bg-background/80 backdrop-blur-md border-b supports-backdrop-filter:bg-background/60'