diff options
| author | Aristeides Stathopoulos <[email protected]> | 2013-06-22 14:34:17 +0300 |
|---|---|---|
| committer | Aristeides Stathopoulos <[email protected]> | 2013-06-22 14:34:17 +0300 |
| commit | 2ba3b47dc697bdcb69b2100d664c51d69c453010 (patch) | |
| tree | ba1202f57d5a072abecbd3c0e31fdb5139babaf4 | |
| parent | 9360a25abf1ab40c84a029c12a6a4e4c3d9a2206 (diff) | |
| download | bootstrap-2ba3b47dc697bdcb69b2100d664c51d69c453010.tar.xz bootstrap-2ba3b47dc697bdcb69b2100d664c51d69c453010.zip | |
Update navbar.less
navbar padding-left and padding-right should be calculated from the grid-gutter-width variable.
| -rw-r--r-- | less/navbar.less | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/less/navbar.less b/less/navbar.less index 6246bd62c..b744f5f70 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -6,8 +6,8 @@ .navbar { position: relative; margin-bottom: 20px; - padding-left: 15px; - padding-right: 15px; + padding-left: floor(@grid-gutter-width / 2); // ~15px + padding-right: floor(@grid-gutter-width / 2); // ~15px background-color: @navbar-bg; border-radius: @border-radius-base; @@ -284,7 +284,7 @@ .navbar-brand { float: left; - margin-left: -15px; + margin-left: -5px; margin-right: 5px; } .navbar-nav { |
