Commit bc0a8233 authored by Mike Greiling's avatar Mike Greiling

ensure last line in diff block is contained within a table row element

parent e2f0b830
......@@ -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
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