Skip to content

Commit

Permalink
bug fix for hamburger menu not working in mobile (firefox/safari)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmckinney committed Aug 30, 2023
1 parent 4e3e9be commit 79fb7aa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/themes/dspace/app/navbar/navbar.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ nav.navbar {
/** Mobile menu styling **/
@media screen and (max-width: map-get($grid-breakpoints, md)-0.02) {
.navbar {
width: 100%;
// changed from percent to vw, see: https://github.com/DSpace/dspace-angular/pull/2444
width: 100vw;
background-color: var(--bs-white);
position: absolute;
// removed to fix safari mobile hamburger menu not working
// see: https://github.com/DSpace/dspace-angular/pull/2444
//position: absolute;
overflow: hidden;
height: 0;
&.open {
Expand Down

0 comments on commit 79fb7aa

Please sign in to comment.