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

Begin to use Popper for Dropdown

This commit is contained in:
Johann-S
2017-04-14 11:25:53 +02:00
parent d8996a7e0a
commit 54a8ab4011
4 changed files with 97 additions and 22 deletions

View File

@@ -100,11 +100,6 @@
// Open state for the dropdown
.show {
// Show the menu
> .dropdown-menu {
display: block;
}
// Remove the outline when :focus is triggered
> a {
outline: 0;
@@ -125,6 +120,10 @@
left: 0;
}
.dropdown-menu.show {
display: block;
}
// Dropdown section headers
.dropdown-header {
display: block;
@@ -139,11 +138,4 @@
//
// Just add .dropup after the standard .dropdown class and you're set.
.dropup {
// Different positioning for bottom up menu
.dropdown-menu {
top: auto;
bottom: 100%;
margin-bottom: $dropdown-margin-top;
}
}
.dropup {}