aboutsummaryrefslogtreecommitdiffstats
path: root/templates/explore/repo_list.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-20 19:00:03 +0100
committerGitHub <noreply@github.com>2020-12-20 13:00:03 -0500
commitb4f8da533e1771eb1e0d222d8d586b4220447e4c (patch)
treec5db36e00ba4cb2383f9773e1e2e5e8950e9fb92 /templates/explore/repo_list.tmpl
parente0a84d78809f4b19247ec7538e76f73b1f4c499f (diff)
downloadgitea-b4f8da533e1771eb1e0d222d8d586b4220447e4c.tar.gz
gitea-b4f8da533e1771eb1e0d222d8d586b4220447e4c.zip
Search and Diff CSS enhancements (#14050)
* Search and Diff CSS enhancements - Use flexbox for language stats - Improve labels and code boxes on repo and code search - Use flexbox on diff header and improve suppressed diff text - Add dedicated color for diff expander * more diff tweaks, less vertical padding on header * more minor tweaks * always show fold icon, image diff improvments * remove margin Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/explore/repo_list.tmpl')
-rw-r--r--templates/explore/repo_list.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl
index bfec17ff29..91dc3d8bf4 100644
--- a/templates/explore/repo_list.tmpl
+++ b/templates/explore/repo_list.tmpl
@@ -38,12 +38,12 @@
{{end}}
</div>
</div>
- <div class="metas">
+ <div class="metas df ac">
{{if .PrimaryLanguage }}
- <span class="text grey"><i class="color-icon" style="background-color: {{.PrimaryLanguage.Color}}"></i>{{ .PrimaryLanguage.Language }}</span>
+ <span class="text grey df ac mr-3"><i class="color-icon mr-3" style="background-color: {{.PrimaryLanguage.Color}}"></i>{{ .PrimaryLanguage.Language }}</span>
{{end}}
- <span class="text grey">{{svg "octicon-star"}} {{.NumStars}}</span>
- <span class="text grey">{{svg "octicon-git-branch"}} {{.NumForks}}</span>
+ <span class="text grey df ac mr-3">{{svg "octicon-star" 16 "mr-3"}}{{.NumStars}}</span>
+ <span class="text grey df ac mr-3">{{svg "octicon-git-branch" 16 "mr-3"}}{{.NumForks}}</span>
</div>
</div>
<div class="description">