summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-06-28 11:51:24 -0400
committerGitHub <noreply@github.com>2023-06-28 11:51:24 -0400
commit7222bac4e3df56694028322522846b176e7f4d14 (patch)
tree64828874c55924a81538639250d06277c1005ace /templates/base
parent0eb4ab4246f343f9a864023801af1ef028196f66 (diff)
downloadgitea-7222bac4e3df56694028322522846b176e7f4d14.tar.gz
gitea-7222bac4e3df56694028322522846b176e7f4d14.zip
Align language menu icon and fit the footer area (#25556) (#25563)
Backport #25556 by @wxiaoguang Close #25551 ## Before ![image](https://github.com/go-gitea/gitea/assets/2114189/f35aebeb-9c86-4632-8c1f-1c90aa757640) ## After ![image](https://github.com/go-gitea/gitea/assets/2114189/4a623687-6c6d-442a-a4f9-07dadeb9fc6d) ---- ![image](https://github.com/go-gitea/gitea/assets/2114189/6a4e5ecf-b88b-4c22-98c3-21898bd41bc5) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer_content.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl
index f527274484..3b87f25d63 100644
--- a/templates/base/footer_content.tmpl
+++ b/templates/base/footer_content.tmpl
@@ -16,7 +16,7 @@
</div>
<div class="right-links" role="group" aria-label="{{.locale.Tr "aria.footer.links"}}">
<div class="ui dropdown upward language">
- <span>{{svg "octicon-globe"}} {{.locale.LangName}}</span>
+ <span class="flex-text-inline">{{svg "octicon-globe" 14}} {{.locale.LangName}}</span>
<div class="menu language-menu">
{{range .AllLangs}}
<a lang="{{.Lang}}" data-url="{{AppSubUrl}}/?lang={{.Lang}}" class="item {{if eq $.locale.Lang .Lang}}active selected{{end}}">{{.Name}}</a>