diff options
| author | Johann-S <[email protected]> | 2017-04-14 11:25:53 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2017-05-14 11:41:19 +0200 |
| commit | 54a8ab40111dacdf50fad22e6f36d2801ba653c9 (patch) | |
| tree | b6794c35ef4370398234cc575ea275c9291e43e7 /scss | |
| parent | d8996a7e0a90ad2a00151c5e14bae6a37bf8e186 (diff) | |
| download | bootstrap-54a8ab40111dacdf50fad22e6f36d2801ba653c9.tar.xz bootstrap-54a8ab40111dacdf50fad22e6f36d2801ba653c9.zip | |
Begin to use Popper for Dropdown
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_dropdown.scss | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index 3c5a5c66e..2c57f0209 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 {} |
