diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-09-27 21:07:49 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-10-03 22:40:01 +0300 |
commit | 64a60e08c3749cb5cfe9546ac526edf91f0b3b76 (patch) | |
tree | 15991dfa91305c40b5757e48160fd48ad2c3f21c /app/assets/javascripts/gl_dropdown.js | |
parent | 05d8e87dba4abaf9eb495bac147c4d4c5426da2e (diff) |
Fix bottom spacing for dropdowns that open upwards
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/gl_dropdown.js')
-rw-r--r-- | app/assets/javascripts/gl_dropdown.js | 1 |
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%'); }; |