Skip to content

Commit

Permalink
Navbar is sticky now. Fixed issue where things were being drawn over …
Browse files Browse the repository at this point in the history
…the navbar
  • Loading branch information
Kasra-G committed Dec 1, 2023
1 parent 809e56f commit bc14d51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,7 @@ dist
firestore*

# VS Code Configuration
.vscode
.vscode

# Jetbrains Configuration
.idea/
2 changes: 1 addition & 1 deletion projects/mybyte/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const Navbar = ({ children }: { children: React.ReactNode }) => {
" overflow-y-auto font-inter"
}
>
<nav className="bg-white border-gray-200 shadow-md">
<nav className="bg-white border-gray-200 shadow-md top-0 sticky z-10">
<div className="flex flex-wrap items-center justify-between mx-auto py-6">
<Link href={!user.uid ? "/" : "/dashboard"}>
<span className="font-semibold uppercase text-xl tracking-5px px-5 hover:text-red-500 transition">
Expand Down

0 comments on commit bc14d51

Please sign in to comment.