Fix unified diff view styling (#585)

Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
This commit is contained in:
Manuel Kuhlmann 2017-01-05 03:04:41 +01:00 committed by Lunny Xiao
parent a5e07da8be
commit eb9ce39bb7
3 changed files with 57 additions and 37 deletions

View file

@ -85,7 +85,7 @@
<img src="{{$.RawPath}}/{{EscapePound .Name}}">
</div>
{{else}}
<div class="file-body file-code code-view code-diff">
<div class="file-body file-code code-view code-diff {{if $.IsSplitStyle}}code-diff-split{{else}}code-diff-unified{{end}}">
<table>
<tbody>
{{if $.IsSplitStyle}}