ensure last line in diff block is contained within a table row element
This commit is contained in:
parent
e2f0b83061
commit
bc0a82334a
|
@ -38,4 +38,5 @@
|
|||
- if discussion_left || discussion_right
|
||||
= render "discussions/parallel_diff_discussion", discussion_left: discussion_left, discussion_right: discussion_right
|
||||
- if !diff_file.new_file && last_line > 0
|
||||
= diff_match_line last_line, last_line, bottom: true, view: :parallel
|
||||
%tr.line_holder.parallel
|
||||
= diff_match_line last_line, last_line, bottom: true, view: :parallel
|
||||
|
|
|
@ -13,4 +13,5 @@
|
|||
|
||||
- last_line = diff_file.highlighted_diff_lines.last.new_pos
|
||||
- if !diff_file.new_file && last_line > 0
|
||||
= diff_match_line last_line, last_line, bottom: true
|
||||
%tr.line_holder
|
||||
= diff_match_line last_line, last_line, bottom: true
|
||||
|
|
Loading…
Reference in New Issue