Skip to content

Commit

Permalink
Merge pull request #926 from scireum/feature/sbi/offscreen-menu-fix
Browse files Browse the repository at this point in the history
Prevents long navbar menus from being cut off
  • Loading branch information
sabieber authored Sep 10, 2021
2 parents 3e97d8a + 8e990ed commit c7c3523
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/default/assets/tycho/styles/page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ nav.navbar {
border-bottom: 3px solid $accent-color;
background-color: #fff;
padding: 0.5rem 2%;

/* Prevents the nav dropdowns from exceeding the displayed area and entries being cut off. */
.navbar-nav .nav-item.dropdown .dropdown-menu {
max-height: 85vh;
overflow-y: auto;
}
}

#page-header {
Expand Down

0 comments on commit c7c3523

Please sign in to comment.