mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-19 13:10:36 +02:00
Backport #34750 by @silverwind Before, icon vertically misaligned: <img width="243" alt="Screenshot 2025-06-17 at 18 14 26" src="https://github.com/user-attachments/assets/ac515c6d-25bd-44da-88be-a1d93c137ed0" /> After, icon correctly vertically centered: <img width="244" alt="Screenshot 2025-06-17 at 18 14 40" src="https://github.com/user-attachments/assets/41556d52-aa15-4bfb-82e2-91ed774cf2b0" /> I think it's fine to single out this one case and not alter `flex-text-inline` because that class seems to work well in other places. Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
4c2441ba5d
commit
958d0db4f4
@ -5,7 +5,7 @@
|
|||||||
<div class="ui container fluid padded">
|
<div class="ui container fluid padded">
|
||||||
<div class="ui top attached header clearing segment tw-relative commit-header">
|
<div class="ui top attached header clearing segment tw-relative commit-header">
|
||||||
<div class="tw-flex tw-mb-4 tw-gap-1">
|
<div class="tw-flex tw-mb-4 tw-gap-1">
|
||||||
<h3 class="tw-mb-0 tw-flex-1"><span class="commit-summary" title="{{.Commit.Summary}}">{{ctx.RenderUtils.RenderCommitMessage .Commit.Message $.Repository}}</span>{{template "repo/commit_statuses" dict "Status" .CommitStatus "Statuses" .CommitStatuses}}</h3>
|
<h3 class="tw-mb-0 tw-flex-1"><span class="commit-summary" title="{{.Commit.Summary}}">{{ctx.RenderUtils.RenderCommitMessage .Commit.Message $.Repository}}</span>{{template "repo/commit_statuses" dict "Status" .CommitStatus "Statuses" .CommitStatuses "AdditionalClasses" "tw-inline"}}</h3>
|
||||||
{{if not $.PageIsWiki}}
|
{{if not $.PageIsWiki}}
|
||||||
<div class="commit-header-buttons">
|
<div class="commit-header-buttons">
|
||||||
<a class="ui primary tiny button" href="{{.SourcePath}}">
|
<a class="ui primary tiny button" href="{{.SourcePath}}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user