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

Add $nav-item-inline-spacer variable

So folks can customize the distance between nav links in inline navs.
This commit is contained in:
Mark Otto 2016-01-06 15:41:35 -08:00
parent 9c19dc91da
commit 030ab626a5
2 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@
.nav-item + .nav-item, .nav-item + .nav-item,
.nav-link + .nav-link { .nav-link + .nav-link {
margin-left: 1rem; margin-left: $nav-item-inline-spacer;
} }
} }

View File

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