mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 11:26:26 -06:00
Account for header height
This commit is contained in:
parent
c67d9d8e20
commit
4dcb0b1109
@ -65,7 +65,7 @@ footer p {
|
|||||||
/* Scroll the drop-down menus at or above 768px wide to match bootstrap's behavior for hiding dropdown menus */
|
/* Scroll the drop-down menus at or above 768px wide to match bootstrap's behavior for hiding dropdown menus */
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.navbar-nav>li>ul {
|
.navbar-nav>li>ul {
|
||||||
max-height: 80vh;
|
max-height: calc(80vh - 50px);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -73,7 +73,7 @@ footer p {
|
|||||||
/* 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 {
|
#navbar {
|
||||||
max-height: 80vh;
|
max-height: calc(80vh - 50px);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.navbar-header {
|
.navbar-header {
|
||||||
|
Loading…
Reference in New Issue
Block a user