]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Increase secondary nav item padding to compensate removed whitespace
[rails.git] / app / assets / stylesheets / common.scss
index 0edb3b0fc3cdbb56741946ac3e6da9302f883595..97ed5907135d992c6da34bf612d52ede75368654 100644 (file)
@@ -98,10 +98,6 @@ header {
   position: relative;
   font-size: 14px;
 
-  h1, nav, nav > ul, nav > ul > li {
-    display: inline-block;
-  }
-
   > * {
     height: 100%;
     padding: $lineheight * 0.5;
@@ -154,7 +150,7 @@ nav.primary {
 
 nav.secondary {
   .nav-link {
-    padding: 0.2rem;
+    padding: 0.3rem;
   }
 }
 
@@ -191,7 +187,7 @@ body.small-nav {
     min-height: $headerHeight;
 
     &.closed nav {
-      display: none;
+      display: none !important;
     }
 
     .search_forms {
@@ -216,6 +212,8 @@ body.small-nav {
   }
 
   nav.secondary {
+    flex-direction: column;
+
     .user-menu, .login-menu {
       width: 100%;
     }