0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Fixes #7816: revert negative margin on .navbar-nav

This commit is contained in:
Mark Otto 2013-05-08 19:55:20 -07:00
parent 509f2244da
commit 1cb880b4f1
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -21,7 +21,7 @@
.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
// and outdent nav links so text lines up with logo. // and outdent nav links so text lines up with logo.
margin: 10px -15px 0; margin-top: 10px;
> li > a { > li > a {
padding-top: ((@navbar-height - @line-height-base) / 2); padding-top: ((@navbar-height - @line-height-base) / 2);