Skip to content

Commit

Permalink
ECOMMONS-1548: fixes hamburger menu for 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 5977ffa
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 5977ffa

Please sign in to comment.