From 28b8e0b43e0cd4059912db6025b2e9ad9ee7fbdf Mon Sep 17 00:00:00 2001 From: Giteabot <teabot@gitea.io> Date: Fri, 24 Nov 2023 00:14:20 +0800 Subject: [PATCH] Use full width for PR comparison (#28182) (#28186) Backport #28182 by @lng2020 Follow-up #22844 close #28142 Before  After  Co-authored-by: Nanguan Lin <70063547+lng2020@users.noreply.github.com> --- templates/repo/diff/compare.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/diff/compare.tmpl b/templates/repo/diff/compare.tmpl index ebeae39222..2892ea51b1 100644 --- a/templates/repo/diff/compare.tmpl +++ b/templates/repo/diff/compare.tmpl @@ -2,7 +2,7 @@ <div role="main" aria-label="{{.Title}}" class="page-content repository diff {{if .PageIsComparePull}}compare pull{{end}}"> {{template "repo/header" .}} {{$showDiffBox := false}} - <div class="ui container"> + <div class="ui container fluid padded"> <h2 class="ui header"> {{if and $.PageIsComparePull $.IsSigned (not .Repository.IsArchived)}} {{ctx.Locale.Tr "repo.pulls.compare_changes"}} @@ -235,7 +235,7 @@ </div> {{if $showDiffBox}} - <div class="ui container"> + <div class="ui container fluid padded"> {{template "repo/commits_table" .}} {{template "repo/diff/box" .}} </div>