From 9e028d8d578f5372efe3c3bac2044c001e01d93b Mon Sep 17 00:00:00 2001 From: Typed SIGTERM Date: Sat, 25 Jan 2025 01:09:57 +0800 Subject: [PATCH] Fix comment header padding (#33377) --- templates/repo/diff/comments.tmpl | 2 +- templates/repo/issue/view_content.tmpl | 2 +- templates/repo/issue/view_content/comments.tmpl | 10 +++++----- templates/repo/issue/view_content/conversation.tmpl | 2 +- web_src/css/repo.css | 8 ++------ 5 files changed, 10 insertions(+), 14 deletions(-) diff --git a/templates/repo/diff/comments.tmpl b/templates/repo/diff/comments.tmpl index 2d716688b9..ec52934a9d 100644 --- a/templates/repo/diff/comments.tmpl +++ b/templates/repo/diff/comments.tmpl @@ -8,7 +8,7 @@ {{template "shared/user/avatarlink" dict "user" .Poster}} {{end}}
-
+
{{if .OriginalAuthor}} diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 1a68781ecd..50a41654f3 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -13,7 +13,7 @@ {{end}}
-
+
{{if .Issue.OriginalAuthor}} diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 2e1a67edcc..c1ad64a118 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -26,7 +26,7 @@ {{end}}