diff options
author | Manuel Kuhlmann <mkuhlmann@users.noreply.github.com> | 2017-01-05 03:04:41 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-05 10:04:41 +0800 |
commit | eb9ce39bb70f5f5d5f13d51acf46586c65df1a77 (patch) | |
tree | 50f830e205ad19864fc104a9139c43e654d5113e /templates | |
parent | a5e07da8bedf5da47a4fec3dda6eaf2e54d69921 (diff) | |
download | gitea-eb9ce39bb70f5f5d5f13d51acf46586c65df1a77.tar.gz gitea-eb9ce39bb70f5f5d5f13d51acf46586c65df1a77.zip |
Fix unified diff view styling (#585)
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/diff/box.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 9445e7846c..90def1f843 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -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}} |