1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

Drop nav divider mixin

This commit is contained in:
Martijn Cuppens
2019-08-21 10:33:26 +02:00
parent 66e9ab3e4d
commit 0aabaa209d
4 changed files with 6 additions and 13 deletions

View File

@@ -113,7 +113,10 @@
// Dividers (basically an `<hr>`) within the dropdown
.dropdown-divider {
@include nav-divider($dropdown-divider-bg, $dropdown-divider-margin-y);
height: 0;
margin: $dropdown-divider-margin-y 0;
overflow: hidden;
border-top: 1px solid $dropdown-divider-bg;
}
// Links, buttons, and more within the dropdown menu