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

make it a var

This commit is contained in:
Mark Otto 2018-02-19 18:15:44 -08:00
parent c9f63c2eb8
commit 99379f3843
2 changed files with 3 additions and 1 deletions

View File

@ -608,6 +608,8 @@ $nav-pills-border-radius: $border-radius !default;
$nav-pills-link-active-color: $component-active-color !default;
$nav-pills-link-active-bg: $component-active-bg !default;
$nav-divider-margin-y: ($spacer / 2) !default;
// Navbar
$navbar-padding-y: ($spacer / 2) !default;

View File

@ -2,7 +2,7 @@
//
// Dividers (basically an hr) within dropdowns and nav lists
@mixin nav-divider($color: #e5e5e5, $margin-y: ($spacer / 2)) {
@mixin nav-divider($color: #e5e5e5, $margin-y: $nav-divider-margin-y) {
height: 0;
margin: $margin-y 0;
overflow: hidden;