0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

no need for zero padding on navbar top/bottom; better comment

This commit is contained in:
Mark Otto 2013-04-30 19:07:28 -07:00
parent 6dd4cbd20b
commit e8b7318646
2 changed files with 6 additions and 3 deletions

View 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;
}

View 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 {