Skip to content

Commit 29a8d0a

Browse files
authored
fix: header clear on initial scroll (#158)
1 parent af7d10a commit 29a8d0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/layout/NavBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ const NavBar = () => {
4545
return (
4646
<nav
4747
className={clsx(
48-
"fixed top-0 left-0 right-0 z-50 transition-shadow",
49-
scroll && "bg-background-light-10 dark:bg-background-dark-90 shadow-xl",
48+
"fixed top-0 left-0 right-0 z-50 transition-shadow bg-background-light-10 dark:bg-background-dark-90",
49+
scroll && "shadow-xl",
5050
)}
5151
>
5252
<div className="max-w-7xl flex flex-row items-center mx-auto px-4 py-2 gap-2">

0 commit comments

Comments
 (0)