mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02: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