]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Dropup dropdown-menu should have margin on the bottom instead of top
authorPatrick Yeo <patrick.yeo@liferay.com>
Mon, 31 Jul 2017 18:47:02 +0000 (11:47 -0700)
committerMark Otto <markd.otto@gmail.com>
Fri, 4 Aug 2017 22:17:50 +0000 (15:17 -0700)
scss/_dropdown.scss

index 230c6f0deecd2e99b4994cb017d6ee538fb35bb5..05e8b165232f497515251f863bc835916965d9ab 100644 (file)
 // 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;