diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-10-19 14:48:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-19 15:48:29 +0100 |
commit | 6b712465a815d0da51ca7d33289610eaef0887ad (patch) | |
tree | fadad13ba8922df47199ada8144a259fba6ef890 /templates/repo/diff | |
parent | c3b2e44392e7f6c9a77a46664788c0bb9a6f33cb (diff) | |
download | gitea-6b712465a815d0da51ca7d33289610eaef0887ad.tar.gz gitea-6b712465a815d0da51ca7d33289610eaef0887ad.zip |
Revert increased width on pull pages (#21470)
- Revert a behavior from #21012, which liberally added `fluid padded` to
non-split style pull pages, this caused it to take up the whole
screen(such in split-style pull pages) on pull pages where the diff was
shown.
- Resolves #21460
### Before


### After


Diffstat (limited to 'templates/repo/diff')
-rw-r--r-- | templates/repo/diff/compare.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/compare.tmpl b/templates/repo/diff/compare.tmpl index e0e6837203..029e7717a4 100644 --- a/templates/repo/diff/compare.tmpl +++ b/templates/repo/diff/compare.tmpl @@ -1,7 +1,7 @@ {{template "base/head" .}} <div class="page-content repository diff {{if .PageIsComparePull}}compare pull{{end}}"> {{template "repo/header" .}} - <div class="ui container fluid padded"> + <div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}"> <h2 class="ui header"> {{if and $.PageIsComparePull $.IsSigned (not .Repository.IsArchived)}} |