mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02:00
no need for zero padding on navbar top/bottom; better comment
This commit is contained in:
3
docs/assets/css/bootstrap.css
vendored
3
docs/assets/css/bootstrap.css
vendored
@@ -3487,7 +3487,8 @@ button.close {
|
|||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 0 15px;
|
padding-top: 15px;
|
||||||
|
padding-bottom: 15px;
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
@@ -5,9 +5,11 @@
|
|||||||
// Wrapper and base class
|
// Wrapper and base class
|
||||||
.navbar {
|
.navbar {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 0 15px;
|
padding-top: 15px;
|
||||||
|
padding-bottom: 15px;
|
||||||
background-color: @navbar-bg;
|
background-color: @navbar-bg;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
|
|
||||||
// Prevent floats from breaking the navbar
|
// Prevent floats from breaking the navbar
|
||||||
.clearfix();
|
.clearfix();
|
||||||
}
|
}
|
||||||
@@ -16,7 +18,7 @@
|
|||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.navbar-nav {
|
.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;
|
margin-top: 5px;
|
||||||
|
|
||||||
> li > a {
|
> li > a {
|
||||||
|
Reference in New Issue
Block a user