summaryrefslogtreecommitdiffstats
path: root/templates/org
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-03-08 14:52:58 +0000
committerGitHub <noreply@github.com>2021-03-08 15:52:58 +0100
commit61711143b9c0cd498e308833e6fc9996c4f0bb53 (patch)
treed3fa76bc0bb71b434aaa70fa2c4ff073331f1cb0 /templates/org
parenteb576269d4fe83684c6946c2fa65038391362075 (diff)
downloadgitea-61711143b9c0cd498e308833e6fc9996c4f0bb53.tar.gz
gitea-61711143b9c0cd498e308833e6fc9996c4f0bb53.zip
Fix alignment of People and Teams right arrow on org homepage (#14924)
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>
Diffstat (limited to 'templates/org')
-rw-r--r--templates/org/home.tmpl18
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index a0f37a8009..25cd68291c 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -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">
@@ -39,11 +39,11 @@
</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>
@@ -59,10 +59,10 @@
</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">