mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +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:
parent
9c19dc91da
commit
030ab626a5
@ -38,7 +38,7 @@
|
||||
|
||||
.nav-item + .nav-item,
|
||||
.nav-link + .nav-link {
|
||||
margin-left: 1rem;
|
||||
margin-left: $nav-item-inline-spacer;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -389,6 +389,7 @@ $navbar-light-disabled-color: rgba(0,0,0,.15) !default;
|
||||
// Navs
|
||||
|
||||
$nav-item-margin: .2rem !default;
|
||||
$nav-item-inline-spacer: 1rem !default;
|
||||
|
||||
$nav-link-padding: .5em 1em !default;
|
||||
$nav-link-hover-bg: $gray-lighter !default;
|
||||
|
Loading…
Reference in New Issue
Block a user