summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorpmdematagoda <pmd.lotr.gandalf@gmail.com>2019-09-07 21:17:42 +1000
committerLauris BH <lauris.buksis@zzdats.lv>2019-09-07 14:17:42 +0300
commit5e32c16ac3fc3456d1ead34703a49b37cfd10965 (patch)
tree79ced3359b2a1ee9ba7bd790b16cb3d349ef7fec /templates
parent7e74afc9f790fde21e2e2423eab313e81e53aa8d (diff)
downloadgitea-5e32c16ac3fc3456d1ead34703a49b37cfd10965.tar.gz
gitea-5e32c16ac3fc3456d1ead34703a49b37cfd10965.zip
1148: Take up the full width when viewing the diff in split view. (#8114)
This replicates how the commit view works in split view.
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/pulls/files.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/pulls/files.tmpl b/templates/repo/pulls/files.tmpl
index b771dc37fd..c882c0c38e 100644
--- a/templates/repo/pulls/files.tmpl
+++ b/templates/repo/pulls/files.tmpl
@@ -1,7 +1,7 @@
{{template "base/head" .}}
<div class="repository view issue pull files diff">
{{template "repo/header" .}}
- <div class="ui container">
+ <div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}">
<div class="navbar">
{{template "repo/issue/navbar" .}}
<div class="ui right">