Skip to content

Commit

Permalink
Merge pull request #768 from swaraj-das/revert-742-nav-branch
Browse files Browse the repository at this point in the history
Revert "Navbar Z-index and navbar handler issue is solved, Issue number #715"
  • Loading branch information
swaraj-das authored Nov 10, 2024
2 parents 75f1827 + 2a4eef3 commit 36c95fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@

<nav>
<ul id="menuList">
<li><a href="#controller" onclick="closeNav()">Game Controllers</a></li>
<li><a href="#vrsection" onclick="closeNav()">VR Accessories</a></li>
<li><a href="#keyboard" onclick="closeNav()">Gaming Keyboard</a></li>
<li><a href="#others" onclick="closeNav()">Others</a></li>
<li class="login"><a href="login/login.html" onclick="closeNav()">Login</a></li>
<li><a href="#controller">Game Controllers</a></li>
<li><a href="#vrsection">VR Accessories</a></li>
<li><a href="#keyboard">Gaming Keyboard</a></li>
<li><a href="#others">Others</a></li>
<li class="login"><a href="login/login.html">Login</a></li>
<!-- Theme Toggle -->
<li><label class="switch">
<input type="checkbox" id="theme-toggle" onchange="toggleTheme()">
Expand Down
5 changes: 0 additions & 5 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ function toggleMenu() {
}
}

function closeNav(){
menuList.style.height = "0px";
menuList.style.paddingTop = "0px";
}

window.onscroll = function() {
updateProgressBar();
};
Expand Down
1 change: 0 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,6 @@ button {
#menuList {
overflow: hidden;
transition: 0.5s;
z-index: 99;
}

.row {
Expand Down

0 comments on commit 36c95fa

Please sign in to comment.