summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-09-27 13:07:49 -0500
committerEric Eastwood <contact@ericeastwood.com>2017-10-03 14:40:01 -0500
commit64a60e08c3749cb5cfe9546ac526edf91f0b3b76 (patch)
tree15991dfa91305c40b5757e48160fd48ad2c3f21c /app/assets/javascripts
parent05d8e87dba4abaf9eb495bac147c4d4c5426da2e (diff)
downloadgitlab-ce-64a60e08c3749cb5cfe9546ac526edf91f0b3b76.tar.gz
Fix bottom spacing for dropdowns that open upwards38187-38315-fix-dropdown-open-top-bottom-spacing
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38315 Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38187
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/gl_dropdown.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/gl_dropdown.js b/app/assets/javascripts/gl_dropdown.js
index 50d822eba5a..ff218ccad62 100644
--- a/app/assets/javascripts/gl_dropdown.js
+++ b/app/assets/javascripts/gl_dropdown.js
@@ -548,6 +548,7 @@ GitLabDropdown = (function() {
GitLabDropdown.prototype.positionMenuAbove = function() {
var $menu = this.dropdown.find('.dropdown-menu');
+ $menu.addClass('dropdown-open-top');
$menu.css('top', 'initial');
$menu.css('bottom', '100%');
};