diff options
author | Douwe Maan <douwe@selenight.nl> | 2019-03-23 14:22:16 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2019-03-26 14:35:43 +0100 |
commit | 0c902da1537a0326faf36227967c68cb6b3037e6 (patch) | |
tree | 76d2528c5da4666685e3b9524569dd870a2cd359 /app/views/projects/diffs | |
parent | 63792707f981a08097addec2ab7fdc9b301ef06c (diff) | |
download | gitlab-ce-0c902da1537a0326faf36227967c68cb6b3037e6.tar.gz |
Add .code to all tables holding diffs
We need this to be able to distinguish between Markdown tables and diff
tables.
Diffstat (limited to 'app/views/projects/diffs')
-rw-r--r-- | app/views/projects/diffs/_parallel_view.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/diffs/_parallel_view.html.haml b/app/views/projects/diffs/_parallel_view.html.haml index 4b1d4b3ea17..02e6c7c2666 100644 --- a/app/views/projects/diffs/_parallel_view.html.haml +++ b/app/views/projects/diffs/_parallel_view.html.haml @@ -1,7 +1,7 @@ / Side-by-side diff view -.text-file.diff-wrap-lines.code.js-syntax-highlight{ data: diff_view_data } - %table +.text-file{ data: diff_view_data } + %table.diff-wrap-lines.code.js-syntax-highlight - diff_file.parallel_diff_lines.each do |line| - left = line[:left] - right = line[:right] |