Skip to content

Commit

Permalink
fixed navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush4345 committed Feb 27, 2024
1 parent 9e6fde1 commit 9cecac0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/components/Navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ const Navbar = () => {
</li>
</ul>
)}


</nav>
</header>
);
Expand Down
6 changes: 3 additions & 3 deletions src/components/Navbar/Navbar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
left: 0;
background-color: transparent;
z-index: var(--z-fixed);
backdrop-filter: blur(16px);
}

@media screen and (min-width: 1150px) {
Expand Down Expand Up @@ -107,10 +108,9 @@
position: fixed;
top: 0;
background-color: hsla(0, 0%, 6%, 0.2);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
background: #f0edf1;
width: 200px;
height: 100%;
height: 100vh;
padding: 6rem 3rem 0;
transition: right 0.4s;
}
Expand Down

0 comments on commit 9cecac0

Please sign in to comment.