0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Introduce $nav-item-margin variable

[skip sauce]
This commit is contained in:
Chris Rebert 2015-12-08 00:13:28 -08:00
parent 223e3505ce
commit de9ad37c5d
2 changed files with 5 additions and 3 deletions

View File

@ -57,7 +57,7 @@
margin-bottom: -1px;
+ .nav-item {
margin-left: .2rem;
margin-left: $nav-item-margin;
}
}
@ -102,7 +102,7 @@
float: left;
+ .nav-item {
margin-left: .2rem;
margin-left: $nav-item-margin;
}
}
@ -128,7 +128,7 @@
float: none;
+ .nav-item {
margin-top: .2rem;
margin-top: $nav-item-margin;
margin-left: 0;
}
}

View File

@ -363,6 +363,8 @@ $navbar-light-disabled-color: rgba(0,0,0,.15) !default;
// Navs
$nav-item-margin: .2rem !default;
$nav-link-padding: .5em 1em !default;
$nav-link-hover-bg: $gray-lighter !default;