summaryrefslogtreecommitdiffstats
path: root/templates/org
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2024-04-30 16:40:09 +0800
committerGitHub <noreply@github.com>2024-04-30 16:40:09 +0800
commit6ee3a8a039ed492d44e80b6f14f222a96763b196 (patch)
tree17fb6bb9f1ebdea303593c7877415193c018ae0d /templates/org
parent6edee2eca458c4d72d3e53218be1f7910f609237 (diff)
downloadgitea-6ee3a8a039ed492d44e80b6f14f222a96763b196.tar.gz
gitea-6ee3a8a039ed492d44e80b6f14f222a96763b196.zip
Right align the "Settings" menu item in overflow-menu (#30764) (#30777)
Backport #30764 by wxiaoguang Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/org')
-rw-r--r--templates/org/menu.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/org/menu.tmpl b/templates/org/menu.tmpl
index c519606d1f..698a9559c5 100644
--- a/templates/org/menu.tmpl
+++ b/templates/org/menu.tmpl
@@ -40,8 +40,9 @@
</a>
{{end}}
{{if .IsOrganizationOwner}}
+ <span class="item-flex-space"></span>
<a class="{{if .PageIsOrgSettings}}active {{end}}item" href="{{.OrgLink}}/settings">
- {{svg "octicon-tools"}} {{ctx.Locale.Tr "repo.settings"}}
+ {{svg "octicon-tools"}} {{ctx.Locale.Tr "repo.settings"}}
</a>
{{end}}
</div>