]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
no need for zero padding on navbar top/bottom; better comment
authorMark Otto <otto@github.com>
Wed, 1 May 2013 02:07:28 +0000 (19:07 -0700)
committerMark Otto <otto@github.com>
Wed, 1 May 2013 02:07:28 +0000 (19:07 -0700)
docs/assets/css/bootstrap.css
less/navbar.less

index ecf7c758548d8e93343deb2491d346822382b72f..12a4d691f9a19f36805f8ddbcaceb932a25bea61 100644 (file)
@@ -3487,7 +3487,8 @@ button.close {
 
 .navbar {
   position: relative;
-  padding: 0 15px;
+  padding-top: 15px;
+  padding-bottom: 15px;
   background-color: #eeeeee;
   border-radius: 4px;
 }
index c3dd3349058f88630b68c7f82d25fd9ad9b65206..ba4f252cc227feb301bf3ed22a1259251269751f 100644 (file)
@@ -5,9 +5,11 @@
 // Wrapper and base class
 .navbar {
   position: relative;
-  padding: 0 15px;
+  padding-top: 15px;
+  padding-bottom: 15px;
   background-color: @navbar-bg;
   border-radius: @border-radius-base;
+
   // Prevent floats from breaking the navbar
   .clearfix();
 }
@@ -16,7 +18,7 @@
 // -------------------------
 
 .navbar-nav {
-  // Space out from .navbar .brand and .btn-navbar
+  // Space out from .navbar .brand and .btn-navbar when stacked in mobile views
   margin-top: 5px;
 
   > li > a {