]> source.dussan.org Git - gitea.git/commitdiff
Fix alignment of People and Teams right arrow on org homepage (#14924)
authorzeripath <art27@cantab.net>
Mon, 8 Mar 2021 14:52:58 +0000 (14:52 +0000)
committerGitHub <noreply@github.com>
Mon, 8 Mar 2021 14:52:58 +0000 (15:52 +0100)
Fix #14854

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
templates/org/home.tmpl

index a0f37a8009be03aabb2716fb2f6510120719cdf8..25cd68291ce75cbf88a90a03d48067cdc09bc546 100644 (file)
@@ -9,7 +9,7 @@
                                        {{if .Org.Visibility.IsLimited}}<div class="ui large basic horizontal label">{{.i18n.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}}
                                        {{if .Org.Visibility.IsPrivate}}<div class="ui large basic horizontal label">{{.i18n.Tr "org.settings.visibility.private_shortname"}}</div>{{end}}
                                </span>
-                               {{if .IsOrganizationOwner}}<a class="middle text grey" href="{{.OrgLink}}/settings">{{svg "octicon-gear"}}</a>{{end}}
+                               {{if .IsOrganizationOwner}}<a class="middle text grey" href="{{.OrgLink}}/settings">{{svg "octicon-gear" 16 "mb-3"}}</a>{{end}}
                        </div>
                        {{if $.RenderedDescription}}<p class="render-content markdown">{{$.RenderedDescription|Str2html}}</p>{{end}}
                        <div class="text grey meta">
                        </div>
 
                        <div class="ui five wide column">
-                               <h4 class="ui top attached header">
-                                       <strong>{{.i18n.Tr "org.people"}}</strong>
+                               <h4 class="ui top attached header df">
+                                       <strong class="f1">{{.i18n.Tr "org.people"}}</strong>
                                        {{if .IsOrganizationMember}}
-                                               <div class="ui right">
-                                                       <a class="text grey" href="{{.OrgLink}}/members">{{.Org.NumMembers}} {{svg "octicon-chevron-right"}}</a>
+                                               <div class="ui">
+                                                       <a class="text grey dif ac" href="{{.OrgLink}}/members"><span>{{.Org.NumMembers}}</span> {{svg "octicon-chevron-right"}}</a>
                                                </div>
                                        {{end}}
                                </h4>
                                </div>
 
                                {{if .IsOrganizationMember}}
-                                       <div class="ui top attached header">
-                                               <strong>{{.i18n.Tr "org.teams"}}</strong>
-                                               <div class="ui right">
-                                                       <a class="text grey" href="{{.OrgLink}}/teams"><span>{{.Org.NumTeams}}</span> {{svg "octicon-chevron-right"}}</a>
+                                       <div class="ui top attached header df">
+                                               <strong class="f1">{{.i18n.Tr "org.teams"}}</strong>
+                                               <div class="ui">
+                                                       <a class="text grey dif ac" href="{{.OrgLink}}/teams"><span>{{.Org.NumTeams}}</span> {{svg "octicon-chevron-right"}}</a>
                                                </div>
                                        </div>
                                        <div class="ui attached table segment teams">