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

Fixes #1599: Display global search in navigation menu unless display is less than 1200px wide

This commit is contained in:
Jeremy Stretch
2017-11-15 14:44:33 -05:00
parent d888aa67f9
commit 124878ed22
2 changed files with 12 additions and 7 deletions

View File

@@ -35,6 +35,13 @@ footer p {
margin: 20px 0;
}
/* Hide the username in the navigation menu on displays less than 1400px wide */
@media (max-width: 1399px) {
#navbar_user {
display: none;
}
}
/* Collapse the nav menu on displays less than 1200px wide */
@media (max-width: 1199px) {
.navbar-header {
@@ -72,12 +79,8 @@ footer p {
.collapse.in {
display:block !important;
}
}
/* Hide the nav search bar on displays less than 1600px wide */
@media (max-width: 1599px) {
#navbar_search {
display: none;
#navbar_user {
display: inline;
}
}