mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Use the hr-method for the nav-divider, closes #21945
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
// 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) {
|
||||||
height: 1px;
|
height: 0;
|
||||||
margin: ($spacer / 2) 0;
|
margin: ($spacer / 2) 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: $color;
|
border-top: 1px solid $color;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user