2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Use popper to align dropdown menu instead of using css with important

This commit is contained in:
Johann-S
2017-05-17 22:03:11 +02:00
committed by GitHub
parent be742b0f5c
commit b36d8ae6cb
3 changed files with 65 additions and 28 deletions
-14
View File
@@ -108,20 +108,6 @@
}
}
// Menu positioning
//
// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
// menu with the parent.
.dropdown-menu-right {
right: 0;
left: auto !important; // Reset the default from `.dropdown-menu`
}
.dropdown-menu-left {
right: auto !important;
left: 0;
}
.dropdown-menu.show {
display: block;
}