Skip to content

Commit 99379f3

Browse files
committed
make it a var
1 parent c9f63c2 commit 99379f3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

scss/_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,8 @@ $nav-pills-border-radius: $border-radius !default;
608608
$nav-pills-link-active-color: $component-active-color !default;
609609
$nav-pills-link-active-bg: $component-active-bg !default;
610610

611+
$nav-divider-margin-y: ($spacer / 2) !default;
612+
611613
// Navbar
612614

613615
$navbar-padding-y: ($spacer / 2) !default;

scss/mixins/_nav-divider.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// Dividers (basically an hr) within dropdowns and nav lists
44

5-
@mixin nav-divider($color: #e5e5e5, $margin-y: ($spacer / 2)) {
5+
@mixin nav-divider($color: #e5e5e5, $margin-y: $nav-divider-margin-y) {
66
height: 0;
77
margin: $margin-y 0;
88
overflow: hidden;

0 commit comments

Comments
 (0)