Skip to content

Commit

Permalink
fix(Mobile-View): 🐛 Header Style fix
Browse files Browse the repository at this point in the history
manage burger menu on small screens
  • Loading branch information
elsheikh21 committed Oct 13, 2024
1 parent 69d4b88 commit 24653dc
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/components/Header.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,38 @@
width: auto;
}

.bm-burger-button {
position: fixed;
width: 36px;
height: 30px;
right: 20px;
top: 20px;
z-index: 2001;
}

.bm-burger-bars {
background: #f3f3f5;
}

.bm-burger-bars-hover {
background: #ddd;
}

.bm-menu {
background: #333;
padding-top: 5rem;
padding-left: 1.5em;
border-radius: 10px;
}

@media (max-width: 768px) {
.header-nav {
display: none;
}
}

@media (min-width: 769px) {
.bm-burger-button {
display: none;
}
}

0 comments on commit 24653dc

Please sign in to comment.