summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff/box.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-05-09 13:21:03 +0800
committerGitHub <noreply@github.com>2023-05-09 05:21:03 +0000
commitb6fc2cdf82acc9792a3607dc4afba93f03fff9d7 (patch)
tree767e975db16d55525a5f2e48744445e8183d8ad2 /templates/repo/diff/box.tmpl
parent2ee72d011fa05852ba4117a8b849fde32cbd54e7 (diff)
downloadgitea-b6fc2cdf82acc9792a3607dc4afba93f03fff9d7.tar.gz
gitea-b6fc2cdf82acc9792a3607dc4afba93f03fff9d7.zip
Make diff view full width again (#24598)
Regression of #24459 , [the related line](https://github.com/go-gitea/gitea/pull/24459/files#diff-f255004de8d715ff40852710390429bf2a06e7e33a4e3f8ad568af636557ac71L8) The PR file diff view needs to be full-screen width.
Diffstat (limited to 'templates/repo/diff/box.tmpl')
-rw-r--r--templates/repo/diff/box.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl
index 21ea63cc0a..26b863acea 100644
--- a/templates/repo/diff/box.tmpl
+++ b/templates/repo/diff/box.tmpl
@@ -1,6 +1,6 @@
{{if .DiffNotAvailable}}
- <div class="diff-detail-box diff-box sticky">
- <div>
+ <div>
+ <div class="diff-detail-box diff-box sticky">
<div class="ui right">
{{template "repo/diff/whitespace_dropdown" .}}
{{template "repo/diff/options_dropdown" .}}