]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use the hr-method for the nav-divider, closes #21945
authorMark Otto <markdotto@gmail.com>
Sun, 26 Mar 2017 21:54:19 +0000 (14:54 -0700)
committerMark Otto <markd.otto@gmail.com>
Sun, 26 Mar 2017 22:03:13 +0000 (15:03 -0700)
scss/mixins/_nav-divider.scss

index 557673ccd347dfc14d6be5e51c728c3cbf5a7608..493de03a34adf63455121e5b6418c1ea93e0eb48 100644 (file)
@@ -3,8 +3,8 @@
 // Dividers (basically an hr) within dropdowns and nav lists
 
 @mixin nav-divider($color: #e5e5e5) {
-  height: 1px;
+  height: 0;
   margin: ($spacer / 2) 0;
   overflow: hidden;
-  background-color: $color;
+  border-top: 1px solid $color;
 }