aboutsummaryrefslogtreecommitdiffstats
path: root/templates/explore/code.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-04-13 22:00:32 +0200
committerGitHub <noreply@github.com>2020-04-13 17:00:32 -0300
commit063b1d260fa5559fac0b77c215e8b06a9c083cec (patch)
treeb0e7740b68d5b836960d620c40e27de8eebce48a /templates/explore/code.tmpl
parentad5c43ae5d90dc92a5ce173894c72b5f6c248bc0 (diff)
downloadgitea-063b1d260fa5559fac0b77c215e8b06a9c083cec.tar.gz
gitea-063b1d260fa5559fac0b77c215e8b06a9c083cec.zip
Fix language label vertical alignment (#11061)
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Diffstat (limited to 'templates/explore/code.tmpl')
-rw-r--r--templates/explore/code.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/explore/code.tmpl b/templates/explore/code.tmpl
index 418d669fe9..43b44af4bf 100644
--- a/templates/explore/code.tmpl
+++ b/templates/explore/code.tmpl
@@ -18,7 +18,7 @@
</h3>
<div>
{{range $term := .SearchResultLanguages}}
- <a class="ui {{if eq $.Language $term.Language}}primary {{end}}basic label" href="{{AppSubUrl}}/explore/code?q={{$.Keyword}}{{if ne $.Language $term.Language}}&l={{$term.Language}}{{end}}">
+ <a class="ui language-label {{if eq $.Language $term.Language}}primary {{end}}basic label" href="{{AppSubUrl}}/explore/code?q={{$.Keyword}}{{if ne $.Language $term.Language}}&l={{$term.Language}}{{end}}">
<i class="color-icon" style="background-color: {{$term.Color}}"></i>
{{$term.Language}}
<div class="detail">{{$term.Count}}</div>