1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-29 13:48:36 +00:00

Fix various problems (#35012)

* Fix #35011
* Fix incorrect log message for "Protocol"
* Remove unnecessary styles, fix "comment-header" wrap, fix label height
This commit is contained in:
wxiaoguang
2025-07-10 00:46:51 +08:00
committed by GitHub
parent bb0c84e8c3
commit 211135b4bb
14 changed files with 56 additions and 63 deletions

View File

@@ -9,7 +9,7 @@
{{end}}
<div class="content comment-container">
<div class="comment-header">
<div class="comment-header-left tw-flex tw-items-center">
<div class="comment-header-left">
{{if .OriginalAuthor}}
<span class="text black tw-font-semibold tw-mr-1">
{{svg (MigrationIcon $.root.Repository.GetOriginalURLHostname)}}
@@ -30,7 +30,7 @@
</span>
{{end}}
</div>
<div class="comment-header-right actions tw-flex tw-items-center">
<div class="comment-header-right">
{{if .Invalidated}}
{{$referenceUrl := printf "%s#%s" $.root.Issue.Link .HashTag}}
<a href="{{$referenceUrl}}" class="ui label basic small" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.review.outdated_description"}}">