mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-28 10:24:19 +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
|
||||
|
||||
@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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user