Parcourir la source

Fixes #507: Corrected rendering of nav menu on screens narrower than 1200px

Jeremy Stretch il y a 8 ans
Parent
commit
6af7403738
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      netbox/project-static/css/base.css

+ 3 - 3
netbox/project-static/css/base.css

@@ -34,7 +34,8 @@ body {
 footer p {
     margin: 20px 0;
 }
-@media (max-width: 1120px) {
+
+@media (max-width: 1200px) {
     .navbar-header {
         float: none;
     }
@@ -54,6 +55,7 @@ footer p {
     }
     .navbar-collapse.collapse {
         display: none!important;
+        max-height: none;
     }
     .navbar-nav {
         float: none!important;
@@ -84,13 +86,11 @@ th.pk, td.pk {
     width: 30px;
 }
 
-
 /* Paginator */
 nav ul.pagination {
     margin-top: 0;
 }
 
-
 /* Racks */
 div.rack_header {
     margin-left: 36px;