mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 17:08:41 -06:00
Account for header height
This commit is contained in:
parent
21f2e0b131
commit
d0e00162ed
@ -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