소스 검색

fix: z-axis overflow issue in header

satnaing 1 년 전
부모
커밋
ff4d667e95
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/layout/header.tsx

+ 1 - 1
src/components/layout/header.tsx

@@ -28,7 +28,7 @@ export const Header = React.forwardRef<React.ElementRef<'header'>, HeaderProps>(
         ref={ref}
         className={cn(
           'flex items-center gap-3 sm:gap-4 bg-background p-4 md:px-8 h-16',
-          sticky && 'sticky top-0 z-10',
+          sticky && 'sticky top-0 z-20',
           offset > 10 && sticky ? 'shadow' : 'shadow-none',
           className
         )}