diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-06-27 15:41:56 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-06-27 15:41:56 +0000 |
commit | e2ea3e5c84b32af405799b1f7158dfdc590db915 (patch) | |
tree | 95abbebadafe46532967ff65c174a8c712b43c4c | |
parent | ccf034d62c55f0cc0f1393b607736e422d34b30c (diff) | |
download | gitlab-ce-e2ea3e5c84b32af405799b1f7158dfdc590db915.tar.gz |
Resolve "Unable to access edit comment from dropdown menu in certain screen sizes"
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 2 | ||||
-rw-r--r-- | spec/features/snippets/notes_on_personal_snippets_spec.rb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index f0dbe4249c5..53d5cf2f7bc 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -473,7 +473,7 @@ ul.notes { } .more-actions { - display: inline; + display: inline-block; .tooltip { white-space: nowrap; diff --git a/spec/features/snippets/notes_on_personal_snippets_spec.rb b/spec/features/snippets/notes_on_personal_snippets_spec.rb index d310e7501ec..c7e2e3d8a34 100644 --- a/spec/features/snippets/notes_on_personal_snippets_spec.rb +++ b/spec/features/snippets/notes_on_personal_snippets_spec.rb @@ -33,6 +33,7 @@ describe 'Comments on personal snippets', :js, feature: true do expect(page).to have_selector('.note-emoji-button') end + find('body').click # close dropdown open_more_actions_dropdown(snippet_notes[1]) page.within("#notes-list li#note_#{snippet_notes[1].id}") do |