summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2019-03-23 14:22:16 +0100
committerDouwe Maan <douwe@selenight.nl>2019-03-26 14:35:43 +0100
commit0c902da1537a0326faf36227967c68cb6b3037e6 (patch)
tree76d2528c5da4666685e3b9524569dd870a2cd359 /app/views/projects/diffs
parent63792707f981a08097addec2ab7fdc9b301ef06c (diff)
downloadgitlab-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.haml4
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]