mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 16:14:04 +02:00
Update navbar.less
navbar padding-left and padding-right should be calculated from the grid-gutter-width variable.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user