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

Update navbar.less

navbar padding-left and padding-right should be calculated from the grid-gutter-width variable.
This commit is contained in:
Aristeides Stathopoulos 2013-06-22 14:34:17 +03:00
parent 9360a25abf
commit 2ba3b47dc6

View File

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