aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Yeo <[email protected]>2017-07-31 11:47:02 -0700
committerMark Otto <[email protected]>2017-08-04 15:17:50 -0700
commitcd3507aba69a01758f804c6f7fccfeb6866a764f (patch)
treec5e7b69a8e513458cbca6af4bf88decba20c5965
parent0501b029f53411e3168e8f2434cc519ea0fab4d6 (diff)
downloadbootstrap-cd3507aba69a01758f804c6f7fccfeb6866a764f.tar.xz
bootstrap-cd3507aba69a01758f804c6f7fccfeb6866a764f.zip
Dropup dropdown-menu should have margin on the bottom instead of top
-rw-r--r--scss/_dropdown.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss
index 230c6f0de..05e8b1652 100644
--- a/scss/_dropdown.scss
+++ b/scss/_dropdown.scss
@@ -26,6 +26,11 @@
// Allow for dropdowns to go bottom up (aka, dropup-menu)
// Just add .dropup after the standard .dropdown class and you're set.
.dropup {
+ .dropdown-menu {
+ margin-top: 0;
+ margin-bottom: $dropdown-spacer;
+ }
+
.dropdown-toggle {
&::after {
border-top: 0;