Skip to content

Commit

Permalink
make it a var
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Feb 20, 2018
1 parent c9f63c2 commit 99379f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion scss/mixins/_nav-divider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 99379f3

Please sign in to comment.