Skip to content

Commit

Permalink
Merge pull request #1169 from amitroy-thedev/main
Browse files Browse the repository at this point in the history
[style]: Hamburger overflow even after click and close button not working
  • Loading branch information
SurajPratap10 authored Oct 8, 2024
2 parents 85b7a10 + 19d703a commit 4566b72
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions views/includes/sidebar.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<i class="bi bi-list"></i>
</div>
<div class="sidebar">
<div class="crossicon">x</div>
<div class="crossicon" onclick="sidebartoggle()">&#10005;</div>
<div class="content">
<a class="white-color hover-effect <%= path === '/' ? 'active' : '' %>" href="/">HOME</a>
<a class="white-color hover-effect <%= path === '/generateImg' ? 'active' : '' %>"
Expand Down Expand Up @@ -30,7 +30,7 @@
font-size: 40px;
width: 50px;
display: none;
z-index: 9999;
z-index: 99;
}
.hamburger i{
Expand Down Expand Up @@ -65,7 +65,7 @@
right: 0;
transition: all 0.2s ;
transform: translateX(100%);
z-index: 2;
z-index: 999;
}
.sidebar .content{
display: flex;
Expand All @@ -82,10 +82,11 @@
right: 20px;
font-size: 40px;
font-weight: bold;
cursor: pointer;
}
.content a:hover{
color: white;
color: white;
}
Expand Down

0 comments on commit 4566b72

Please sign in to comment.