mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-19 03:41:19 +02:00
Add $nav-item-inline-spacer variable
So folks can customize the distance between nav links in inline navs.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user