mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Fixes #3995: Navbar scroll when overflowing
This commit is contained in:
parent
2445d1896b
commit
09faaff849
@ -8,6 +8,7 @@
|
|||||||
## Bug Fixes
|
## Bug Fixes
|
||||||
|
|
||||||
* [#3983](https://github.com/netbox-community/netbox/issues/3983) - Permit the creation of multiple unnamed devices
|
* [#3983](https://github.com/netbox-community/netbox/issues/3983) - Permit the creation of multiple unnamed devices
|
||||||
|
* [#3995](https://github.com/netbox-community/netbox/issues/3995) - Fixed overflowing dropdown menus becoming unreachable
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -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: 80vh;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Collapse the nav menu on displays less than 980px wide */
|
/* Collapse the nav menu on displays less than 980px wide */
|
||||||
@media (max-width: 979px) {
|
@media (max-width: 979px) {
|
||||||
|
#navbar {
|
||||||
|
max-height: 80vh;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
.navbar-header {
|
.navbar-header {
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user