Commit 7ccd8dd9 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch...

Merge branch '238530-add-new-diff-note-icon-on-commit-page-is-currently-broken-on-canary' into 'master'

Fix broken add note icon styles on Commit#show page

See merge request gitlab-org/gitlab!39789
parents de1b0a2b a6c1f0d0
......@@ -57,12 +57,14 @@ module NotesHelper
def add_diff_note_button(line_code, position, line_type)
return if @diff_notes_disabled
button_tag '',
class: 'add-diff-note js-add-diff-note-button',
type: 'submit', name: 'button',
data: diff_view_line_data(line_code, position, line_type),
title: _('Add a comment to this line') do
sprite_icon('comment', size: 12)
content_tag(:span, class: 'add-diff-note tooltip-wrapper') do
button_tag '',
class: 'note-button add-diff-note js-add-diff-note-button',
type: 'submit', name: 'button',
data: diff_view_line_data(line_code, position, line_type),
title: _('Add a comment to this line') do
sprite_icon('comment', size: 12)
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment