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:
parent
6dd4cbd20b
commit
e8b7318646
3
docs/assets/css/bootstrap.css
vendored
3
docs/assets/css/bootstrap.css
vendored
@ -3487,7 +3487,8 @@ button.close {
|
||||
|
||||
.navbar {
|
||||
position: relative;
|
||||
padding: 0 15px;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
background-color: #eeeeee;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user