Update navbar.less

navbar padding-left and padding-right should be calculated from the grid-gutter-width variable.
parent 9360a25a
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment