Commit a6c1f0d0 authored by David Kim's avatar David Kim

Fix broken styles for add diff note on commit page

parent 3807fcbf
...@@ -57,12 +57,14 @@ module NotesHelper ...@@ -57,12 +57,14 @@ module NotesHelper
def add_diff_note_button(line_code, position, line_type) def add_diff_note_button(line_code, position, line_type)
return if @diff_notes_disabled return if @diff_notes_disabled
button_tag '', content_tag(:span, class: 'add-diff-note tooltip-wrapper') do
class: 'add-diff-note js-add-diff-note-button', button_tag '',
type: 'submit', name: 'button', class: 'note-button add-diff-note js-add-diff-note-button',
data: diff_view_line_data(line_code, position, line_type), type: 'submit', name: 'button',
title: _('Add a comment to this line') do data: diff_view_line_data(line_code, position, line_type),
sprite_icon('comment', size: 12) title: _('Add a comment to this line') do
sprite_icon('comment', size: 12)
end
end 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