diff options
author | Mark Otto <markdotto@gmail.com> | 2018-02-20 05:15:44 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2018-02-20 05:15:44 +0300 |
commit | 99379f3843ddd5bd66ce6559ab91ef68c744fbd7 (patch) | |
tree | adf0a10b181280e6b2c4dfc04743a107ed1e2545 /scss | |
parent | c9f63c2eb8475bfab2e6d8d7abe0c9226d473ac0 (diff) |
make it a var
Diffstat (limited to 'scss')
-rw-r--r-- | scss/_variables.scss | 2 | ||||
-rw-r--r-- | scss/mixins/_nav-divider.scss | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss index 14f5b8b018..11f3255307 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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; diff --git a/scss/mixins/_nav-divider.scss b/scss/mixins/_nav-divider.scss index 8eb9d9e3e1..3505d412f2 100644 --- a/scss/mixins/_nav-divider.scss +++ b/scss/mixins/_nav-divider.scss @@ -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; |