Skip to content

Commit

Permalink
made the navbar sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
isonikrish committed Sep 20, 2024
1 parent 132a697 commit 6245c23
Show file tree
Hide file tree
Showing 4 changed files with 1,442 additions and 384 deletions.
140 changes: 64 additions & 76 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/src/Components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function Navbar() {

return (
<div>
<nav className="bg-white border-gray-200 dark:bg-gray-900 dark:border-gray-700">
<nav className="bg-white border-gray-200 dark:bg-gray-900 dark:border-gray-700 fixed top-0 left-0 right-0">
<div className="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4">
<a href="/" className="flex items-center logo">
<img
Expand Down
Loading

0 comments on commit 6245c23

Please sign in to comment.