diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-09-27 13:07:49 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-10-03 14:40:01 -0500 |
commit | 64a60e08c3749cb5cfe9546ac526edf91f0b3b76 (patch) | |
tree | 15991dfa91305c40b5757e48160fd48ad2c3f21c /app/views/shared | |
parent | 05d8e87dba4abaf9eb495bac147c4d4c5426da2e (diff) | |
download | gitlab-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/views/shared')
-rw-r--r-- | app/views/shared/notes/_comment_button.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/notes/_comment_button.html.haml b/app/views/shared/notes/_comment_button.html.haml index 1dfe380db16..4b9af78bc1a 100644 --- a/app/views/shared/notes/_comment_button.html.haml +++ b/app/views/shared/notes/_comment_button.html.haml @@ -7,7 +7,7 @@ = button_tag type: 'button', class: 'btn btn-nr dropdown-toggle comment-btn js-note-new-discussion js-disable-on-submit', data: { 'dropdown-trigger' => '#resolvable-comment-menu' }, 'aria-label' => 'Open comment type dropdown' do = icon('caret-down', class: 'toggle-icon') - %ul#resolvable-comment-menu.dropdown-menu{ data: { dropdown: true } } + %ul#resolvable-comment-menu.dropdown-menu.dropdown-open-top{ data: { dropdown: true } } %li#comment.droplab-item-selected{ data: { value: '', 'submit-text' => 'Comment', 'close-text' => "Comment & close #{noteable_name}", 'reopen-text' => "Comment & reopen #{noteable_name}" } } %button.btn.btn-transparent = icon('check', class: 'icon') |