From db40f1f6fc973af66b3474e366280f17a405df91 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 17 Mar 2023 18:24:00 +0100 Subject: [PATCH] Fix diff detail buttons wrapping, use tippy for review box (#23271) Fix visual regression introduced by https://github.com/go-gitea/gitea/pull/22986. Before: image image After: image image --- 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 afd471368fa89..cb152e0e785bb 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)}}