Skip to content

Commit

Permalink
fix menu display for phone and tablet screen sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
avatar382 committed Feb 9, 2022
1 parent cb056f5 commit 6fa9ff6
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;
bottom: 200;
width: 320px;
}
}

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

0 comments on commit 6fa9ff6

Please sign in to comment.