From d0f48187f92aea6dec0804c1a43731c1a77fd491 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 e04c27b5e9..6dafe6f896 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)}}