Skip to content

Commit 3084b32

Browse files
Merge pull request #667 from reach2saksham/feat/sticky-navbar
feat: make navbar sticky on scroll
2 parents c9a3594 + a95ef70 commit 3084b32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/shared/Header.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ export function Header() {
365365
return (
366366
<>
367367
<motion.header
368-
className="pointer-events-none relative z-50 flex flex-col"
368+
className="pointer-events-none sticky top-0 pt-6 z-50 flex flex-col"
369369
style={{
370370
height: 'var(--header-height)',
371371
marginBottom: 'var(--header-mb)',

0 commit comments

Comments
 (0)