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:
parent
2b42ef0db2
commit
d824bdf4d8
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user