mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
no need for zero padding on navbar top/bottom; better comment
This commit is contained in:
Vendored
+2
-1
@@ -3487,7 +3487,8 @@ button.close {
|
||||
|
||||
.navbar {
|
||||
position: relative;
|
||||
padding: 0 15px;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
background-color: #eeeeee;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
+4
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user