Skip to content

Commit

Permalink
updt: navbar fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hudaputrasantosa committed Mar 7, 2024
1 parent 8eb93cd commit 3f68c6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/components/Nav/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ function Nav() {
</NavbarLink>
));
return (
<div className="relative">
<Navbar fluid rounded className="sticky top-0 border-b-2 mx-30">
<div className="relative mb-16 ">
<Navbar
fluid
className="sticky top-0 fixed z-10 w-full border-b shadow-none">
<NavbarToggle />
<NavbarCollapse className="lg:pl-80">{items}</NavbarCollapse>
<NavbarBrand className="lg:pr-80">
Expand Down
3 changes: 1 addition & 2 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
::-webkit-scrollbar {
display: none;
}

body {
font-family: "Futura PT", "Open Sans", sans-serif;
font-weight: 500;
font-weight: 400;
line-height: 1.8;
font-size: 14px;
}
Expand Down

0 comments on commit 3f68c6b

Please sign in to comment.