]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
addressing #9189 manually, part 6: add a navbar margin var, but avoid the navbar...
authorMark Otto <otto@github.com>
Mon, 12 Aug 2013 01:32:52 +0000 (18:32 -0700)
committerMark Otto <otto@github.com>
Mon, 12 Aug 2013 01:32:52 +0000 (18:32 -0700)
less/navbar.less
less/variables.less

index 60f5fd4f71031c6ecd528f682e6cb02ad6dc3f08..e474f35bd6cd862e7bacdddb7401010f8608e750 100644 (file)
@@ -6,7 +6,7 @@
 .navbar {
   position: relative;
   min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
-  margin-bottom: 20px;
+  margin-bottom: @navbar-margin-bottom;
   padding-left: @navbar-padding-horizontal;
   padding-right: @navbar-padding-horizontal;
   background-color: @navbar-bg;
index 89e01700eb0a0c2580f98232922f456e5ca83fe3..bf180aff6351c94f9daad43bb3113a228485880e 100644 (file)
 @navbar-height:                    50px;
 @navbar-color:                     #777;
 @navbar-bg:                        #eee;
+@navbar-margin-bottom:             @line-height-computed;
 @navbar-border-radius:             @border-radius-base;
 @navbar-padding-horizontal:        floor(@grid-gutter-width / 2);
 @navbar-padding-vertical:          ((@navbar-height - @line-height-computed) / 2);