summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-12-02 22:06:50 +0100
committerAdam Strzelecki <ono@java.pl>2015-12-02 22:06:50 +0100
commitec98deeb8cc6727a01ac8510805d66acd2c7d152 (patch)
tree83cf14824d5707b42b92d9252b221a3e0952078e /templates
parent61fdd8c57120e25a31a686ad60f35ac6445786bd (diff)
downloadgitea-ec98deeb8cc6727a01ac8510805d66acd2c7d152.tar.gz
gitea-ec98deeb8cc6727a01ac8510805d66acd2c7d152.zip
UI: Keep repository settings menu button right
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/sidebar.tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/repo/sidebar.tmpl b/templates/repo/sidebar.tmpl
index 4c0ab588c6..4d68600172 100644
--- a/templates/repo/sidebar.tmpl
+++ b/templates/repo/sidebar.tmpl
@@ -19,9 +19,11 @@
<i class="icon octicon octicon-book"></i> {{.i18n.Tr "repo.wiki"}}
</a>
{{if .IsRepositoryAdmin}}
- <a class="{{if .PageIsSettings}}active{{end}} item" href="{{.RepoLink}}/settings">
- <i class="icon octicon octicon-tools"></i> {{.i18n.Tr "repo.settings"}}
- </a>
+ <div class="right menu">
+ <a class="{{if .PageIsSettings}}active{{end}} item" href="{{.RepoLink}}/settings">
+ <i class="icon octicon octicon-tools"></i> {{.i18n.Tr "repo.settings"}}
+ </a>
+ </div>
{{end}}
</div>
{{end}} \ No newline at end of file