Skip to content

Commit

Permalink
after click on hamburger icons cross icon needs to align properly #639 (
Browse files Browse the repository at this point in the history
#642)

* after click on hamburger icons cross icon needs to align properly #639

* Issue 639
  • Loading branch information
kapilG0 authored Jun 13, 2024
1 parent 63c5ff4 commit 443051a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/common/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const Navbar = () => {
<label
htmlFor='menu'
className={`${styles.hams} ${dropdown ? styles.overlay_active : ''} `}
style={!dropdown ? { top: 10, fontSize: 50, color: 'white' } : null}
style={!dropdown ? { top: 10, fontSize: 50, color: 'black' } : null}
id='ham'
dangerouslySetInnerHTML={{ __html: labelText }}
></label>
Expand Down
2 changes: 1 addition & 1 deletion styles/Navbar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

/* animation after clicking the hamburger icon */
.menu:checked ~ .hams {
transform: rotate(200deg);
transform: rotate(180deg);
top: 23px;
}

Expand Down

0 comments on commit 443051a

Please sign in to comment.