0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Outdent nav links a bit more so they line up in navbar

This commit is contained in:
Mark Otto 2013-05-07 10:33:41 -07:00
parent 716c869b89
commit f06294d80f
2 changed files with 3 additions and 2 deletions

View File

@ -3529,7 +3529,7 @@ button.close {
} }
.navbar-nav { .navbar-nav {
margin-top: 5px; margin: 10px -15px 0;
} }
.navbar-nav > li > a { .navbar-nav > li > a {

View File

@ -20,7 +20,8 @@
.navbar-nav { .navbar-nav {
// Space out from .navbar .brand and .btn-navbar when stacked in mobile views // 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 { > li > a {
padding-top: ((@navbar-height - @line-height-base) / 2); padding-top: ((@navbar-height - @line-height-base) / 2);