We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c93962b commit 232ea49Copy full SHA for 232ea49
1 file changed
src/components/navbar/TopNav.tsx
@@ -48,8 +48,8 @@ export default function TopNav({
48
isAdmin ? adminLinks : memberLinks;
49
50
const navbarClassName = isHomePage
51
- ? "h-16 sm:h-20 border-b border-default-200 bg-white"
52
- : "h-16 sm:h-20 border-b border-default-200 bg-white";
+ ? "sticky top-0 z-50 h-16 sm:h-20 border-b border-default-200 bg-white"
+ : "sticky top-0 z-50 h-16 sm:h-20 border-b border-default-200 bg-white";
53
54
const navbarItemClassName = isHomePage
55
? [
@@ -79,6 +79,8 @@ export default function TopNav({
79
maxWidth="full"
80
className={navbarClassName}
81
classNames={{
82
+ base: "z-50",
83
+ wrapper: "bg-white",
84
item: navbarItemClassName,
85
}}
86
>
0 commit comments