summaryrefslogtreecommitdiffstats
path: root/templates/repo/sub_menu.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/sub_menu.tmpl')
-rw-r--r--templates/repo/sub_menu.tmpl19
1 files changed, 10 insertions, 9 deletions
diff --git a/templates/repo/sub_menu.tmpl b/templates/repo/sub_menu.tmpl
index 6c455a4d5d..5bb71ba49d 100644
--- a/templates/repo/sub_menu.tmpl
+++ b/templates/repo/sub_menu.tmpl
@@ -23,15 +23,16 @@
<div class="ui segment sub-menu language-stats-details" style="display: none">
<div class="ui horizontal center link list">
{{range .LanguageStats}}
- <div class="item">
- <i class="color-icon" style="background-color: {{ .Color }}"></i>
- <span class="ui"><b>
- {{if eq .Language "other" }}
- {{ $.i18n.Tr "repo.language_other" }}
- {{else}}
- {{ .Language }}
- {{end}}
- </b> {{ .Percentage }}%</span>
+ <div class="item df ac jc">
+ <i class="color-icon mr-3" style="background-color: {{ .Color }}"></i>
+ <span class="bold mr-3">
+ {{if eq .Language "other" }}
+ {{ $.i18n.Tr "repo.language_other" }}
+ {{else}}
+ {{ .Language }}
+ {{end}}
+ </span>
+ {{ .Percentage }}%
</div>
{{end}}
</div>