]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Outdent nav links a bit more so they line up in navbar
authorMark Otto <otto@github.com>
Tue, 7 May 2013 17:33:41 +0000 (10:33 -0700)
committerMark Otto <otto@github.com>
Tue, 7 May 2013 17:33:41 +0000 (10:33 -0700)
docs/assets/css/bootstrap.css
less/navbar.less

index 67b0bd18edb79879ca404e007ba21d395d6c69ab..e8ddf5bb10f594e643b35212b648bc98e8f3c62b 100644 (file)
@@ -3529,7 +3529,7 @@ button.close {
 }
 
 .navbar-nav {
-  margin-top: 5px;
+  margin: 10px -15px 0;
 }
 
 .navbar-nav > li > a {
index d4e5286a5a6120f10eaf99458226c6ad4efaddf4..494f43b6fd57da63b24937807c7bb1c3be0526ed 100644 (file)
@@ -20,7 +20,8 @@
 
 .navbar-nav {
   // Space out from .navbar .brand and .btn-navbar when stacked in mobile views
-  margin-top: 5px;
+  // and outdent nav links so text lines up with logo.
+  margin: 10px -15px 0;
 
   > li > a {
     padding-top: ((@navbar-height - @line-height-base) / 2);