From 4b763d8d37628f49c610760fd694540cab3b2ceb Mon Sep 17 00:00:00 2001 From: Giteabot Date: Fri, 17 Mar 2023 14:52:04 -0400 Subject: [PATCH] Fix diff detail buttons wrapping, use tippy for review box (#23271) (#23546) Backport #23271 by @silverwind Fix visual regression introduced by https://github.com/go-gitea/gitea/pull/22986. Before: image image After: image image Co-authored-by: silverwind --- templates/repo/diff/box.tmpl | 2 +- templates/repo/diff/new_review.tmpl | 2 +- web_src/css/review.css | 12 ++++-------- web_src/js/features/repo-issue.js | 23 +++++++++++++++++------ 4 files changed, 23 insertions(+), 16 deletions(-) diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 38c18b6566..297b62edd9 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -24,7 +24,7 @@ {{svg "octicon-diff" 16 "gt-mr-2"}}{{.locale.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | Str2html}} -
+
{{if and .PageIsPullFiles $.SignedUserID (not .IsArchived)}}