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

Allow to customize vertical margin of nav-divider mixin

This commit is contained in:
ysds 2018-01-22 09:54:06 +09:00
parent 2b42ef0db2
commit d824bdf4d8

View File

@ -2,9 +2,9 @@
// //
// Dividers (basically an hr) within dropdowns and nav lists // 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; height: 0;
margin: ($spacer / 2) 0; margin: $margin-y 0;
overflow: hidden; overflow: hidden;
border-top: 1px solid $color; border-top: 1px solid $color;
} }