From dd0caf7e163bff3ecd951a045d9cea47efaa7ed5 Mon Sep 17 00:00:00 2001 From: Kerwin Bryant Date: Thu, 17 Apr 2025 18:32:41 +0800 Subject: [PATCH] Fix various misalignments and overflows (#34227) --------- Co-authored-by: wxiaoguang --- templates/org/team/teams.tmpl | 2 +- templates/projects/list.tmpl | 6 ++---- templates/projects/new.tmpl | 2 +- templates/repo/diff/box.tmpl | 4 +++- templates/repo/diff/comment_form.tmpl | 2 +- templates/repo/issue/milestone_issues.tmpl | 6 +++--- templates/repo/issue/milestone_new.tmpl | 2 +- templates/repo/issue/new_form.tmpl | 2 +- templates/repo/issue/view_content.tmpl | 4 ++-- .../view_content/reference_issue_dialog.tmpl | 2 +- templates/repo/pulse.tmpl | 4 ++-- templates/repo/wiki/new.tmpl | 2 +- templates/user/dashboard/navbar.tmpl | 6 +++--- web_src/css/repo/linebutton.css | 16 +++++++--------- web_src/css/review.css | 1 + web_src/fomantic/build/components/dropdown.css | 5 ----- web_src/js/components/RepoContributors.vue | 4 ++-- 17 files changed, 32 insertions(+), 38 deletions(-) diff --git a/templates/org/team/teams.tmpl b/templates/org/team/teams.tmpl index 4e3e388cb6..432df10749 100644 --- a/templates/org/team/teams.tmpl +++ b/templates/org/team/teams.tmpl @@ -4,7 +4,7 @@
{{template "base/alert" .}} {{if .IsOrganizationOwner}} -
+
diff --git a/templates/projects/list.tmpl b/templates/projects/list.tmpl index 48083811e7..f6d549a634 100644 --- a/templates/projects/list.tmpl +++ b/templates/projects/list.tmpl @@ -1,5 +1,5 @@ {{if and $.CanWriteProjects (not $.Repository.IsArchived)}} -
+ {{end}} diff --git a/templates/projects/new.tmpl b/templates/projects/new.tmpl index a936079c46..f2630be09b 100644 --- a/templates/projects/new.tmpl +++ b/templates/projects/new.tmpl @@ -64,7 +64,7 @@
-
+
{{ctx.Locale.Tr "repo.milestones.cancel"}} diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index f0abb6f5c9..9f0689d61f 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -223,6 +223,7 @@ {{if and (not $.Repository.IsArchived) (not .DiffNotAvailable)}}