1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #6977: Truncate global search dropdown on small screens

This commit is contained in:
jeremystretch
2021-08-17 11:49:32 -04:00
parent e8fb86a283
commit ac6b1bf422
4 changed files with 13 additions and 7 deletions

View File

@@ -376,11 +376,9 @@ nav.search {
// Object Selector Dropdown Menu
.search-obj-selector {
@include media-breakpoint-down(lg) {
// Limit the height and enable scrolling on mobile devices.
max-height: 70vh;
overflow-y: auto;
}
// Limit the height and enable scrolling on mobile devices.
max-height: 70vh;
overflow-y: auto;
.dropdown-item,
.dropdown-header {