diff options
| author | ysds <[email protected]> | 2018-01-22 09:54:06 +0900 |
|---|---|---|
| committer | ysds <[email protected]> | 2018-01-22 09:54:06 +0900 |
| commit | d824bdf4d8c43a1fc5747bb8aafb279fa438a0e0 (patch) | |
| tree | 725fcd026ec92a8f1fa4e8b1701beae7b44fd038 | |
| parent | 2b42ef0db282dc610e9453afb5c7379740ebe81e (diff) | |
| download | bootstrap-d824bdf4d8c43a1fc5747bb8aafb279fa438a0e0.tar.xz bootstrap-d824bdf4d8c43a1fc5747bb8aafb279fa438a0e0.zip | |
Allow to customize vertical margin of `nav-divider` mixin
| -rw-r--r-- | scss/mixins/_nav-divider.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/mixins/_nav-divider.scss b/scss/mixins/_nav-divider.scss index 493de03a3..8eb9d9e3e 100644 --- a/scss/mixins/_nav-divider.scss +++ b/scss/mixins/_nav-divider.scss @@ -2,9 +2,9 @@ // // Dividers (basically an hr) within dropdowns and nav lists -@mixin nav-divider($color: #e5e5e5) { +@mixin nav-divider($color: #e5e5e5, $margin-y: ($spacer / 2)) { height: 0; - margin: ($spacer / 2) 0; + margin: $margin-y 0; overflow: hidden; border-top: 1px solid $color; } |
