Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2017-04-14 12:25:53 +0300
committerJohann-S <johann.servoire@gmail.com>2017-05-14 12:41:19 +0300
commit54a8ab40111dacdf50fad22e6f36d2801ba653c9 (patch)
treeb6794c35ef4370398234cc575ea275c9291e43e7 /scss/_dropdown.scss
parentd8996a7e0a90ad2a00151c5e14bae6a37bf8e186 (diff)
Begin to use Popper for Dropdown
Diffstat (limited to 'scss/_dropdown.scss')
-rw-r--r--scss/_dropdown.scss18
1 files changed, 5 insertions, 13 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss
index 3c5a5c66ed..2c57f0209c 100644
--- a/scss/_dropdown.scss
+++ b/scss/_dropdown.scss
@@ -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 {}