mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Merge pull request #3997 from hSaria/3995-navbar-overflow
Fixes #3995: Navbar scroll when overflowing
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
## Bug Fixes
|
||||
|
||||
* [#3507](https://github.com/netbox-community/netbox/issues/3507) - Fix filtering IPaddress by multiple devices
|
||||
* [#3995](https://github.com/netbox-community/netbox/issues/3995) - Make dropdown menus in the navigation bar scrollable
|
||||
* [#4083](https://github.com/netbox-community/netbox/issues/4083) - Permit nullifying applicable choice fields via API requests
|
||||
* [#4089](https://github.com/netbox-community/netbox/issues/4089) - Selection of power outlet type during bulk update is optional
|
||||
* [#4090](https://github.com/netbox-community/netbox/issues/4090) - Render URL custom fields as links under object view
|
||||
|
@ -62,8 +62,20 @@ footer p {
|
||||
}
|
||||
}
|
||||
|
||||
/* Scroll the drop-down menus at or above 768px wide to match bootstrap's behavior for hiding dropdown menus */
|
||||
@media (min-width: 768px) {
|
||||
.navbar-nav>li>ul {
|
||||
max-height: calc(80vh - 50px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* Collapse the nav menu on displays less than 980px wide */
|
||||
@media (max-width: 979px) {
|
||||
#navbar {
|
||||
max-height: calc(80vh - 50px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
.navbar-header {
|
||||
float: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user