Skip to content

Commit

Permalink
Merge pull request #2374 from archivesspace/ANW-1374
Browse files Browse the repository at this point in the history
ANW-1374: Fix menu display for phone and tablet screen sizes
  • Loading branch information
Brian Hoffman committed Mar 2, 2022
2 parents a0c46e0 + cb7e897 commit 252f053
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions frontend/app/assets/stylesheets/archivesspace/submenu.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,21 @@
.border-radius(0 6px 6px 6px);
}

@media screen and (max-width: 480px) {
@media screen and (max-width: 700px) {
.dropdown-menu.open-aligned-right {
position: fixed;
top: 0;
right: 0;
left: 0;
right: auto;
bottom: 200;
width: 320px;
}
}

@media screen and (min-width: 701px) and (max-width: 800px) {
.dropdown-menu.open-aligned-right {
left: 0;
right: 0;
width: 300px;
}
}

0 comments on commit 252f053

Please sign in to comment.