diff --git a/templates/explore/code.tmpl b/templates/explore/code.tmpl index 418d669fe..43b44af4b 100644 --- a/templates/explore/code.tmpl +++ b/templates/explore/code.tmpl @@ -18,7 +18,7 @@
{{range $term := .SearchResultLanguages}} - + {{$term.Language}}
{{$term.Count}}
diff --git a/templates/repo/search.tmpl b/templates/repo/search.tmpl index 5aa2f8983..984b3fe9e 100644 --- a/templates/repo/search.tmpl +++ b/templates/repo/search.tmpl @@ -18,7 +18,7 @@
{{range $term := .SearchResultLanguages}} - + {{$term.Language}}
{{$term.Count}}
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index ba3bbff36..1c5626be0 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1228,3 +1228,12 @@ i.icon.centerlock { overflow-x: hidden; text-overflow: ellipsis; } + +.language-label { + display: inline-flex !important; + align-items: center !important; +} + +.language-label .color-icon { + position: static !important; +}