]> source.dussan.org Git - gitea.git/commitdiff
Separate the details links of commit-statuses in headers (#18661) (#18730)
authorzeripath <art27@cantab.net>
Sat, 12 Feb 2022 03:40:55 +0000 (03:40 +0000)
committerGitHub <noreply@github.com>
Sat, 12 Feb 2022 03:40:55 +0000 (11:40 +0800)
Backport #18661

templates/repo/commit_statuses.tmpl

index d2e9f0bd16d91b7aaa2c15cc6969412a40f94f19..f33635abff13423b1a651bfbc89626b47e20c9a4 100644 (file)
@@ -2,11 +2,11 @@
 <div class="ui popup very wide fixed basic commit-statuses">
        <div class="ui relaxed list divided">
                {{range .Statuses}}
-                       <div class="ui item singular-status">
+                       <div class="ui item singular-status df">
                                <span>{{template "repo/commit_status" .}}</span>
-                               <span class="ui">{{.Context}} <span class="text grey">{{.Description}}</span></span>
+                               <span class="ui f1">{{.Context}} <span class="text grey">{{.Description}}</span></span>
                                {{if .TargetURL}}
-                                       <div class="ui right"><a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer">{{$.root.i18n.Tr "repo.pulls.status_checks_details"}}</a></div>
+                                       <div class="ui"><a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer">{{$.root.i18n.Tr "repo.pulls.status_checks_details"}}</a></div>
                                {{end}}
                        </div>
                {{end}}