diff options
author | silverwind <me@silverwind.io> | 2020-04-13 22:00:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 17:00:32 -0300 |
commit | 063b1d260fa5559fac0b77c215e8b06a9c083cec (patch) | |
tree | b0e7740b68d5b836960d620c40e27de8eebce48a /templates/explore/code.tmpl | |
parent | ad5c43ae5d90dc92a5ce173894c72b5f6c248bc0 (diff) | |
download | gitea-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.tmpl | 2 |
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> |