aboutsummaryrefslogtreecommitdiffstats
path: root/templates/shared/searchbottom.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/shared/searchbottom.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/shared/searchbottom.tmpl')
-rw-r--r--templates/shared/searchbottom.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/shared/searchbottom.tmpl b/templates/shared/searchbottom.tmpl
index 5680c8d2a9..ab4c135ffe 100644
--- a/templates/shared/searchbottom.tmpl
+++ b/templates/shared/searchbottom.tmpl
@@ -1,10 +1,10 @@
<div class="ui bottom attached table segment df ac sb">
- <div class="ml-3">
+ <div class="df ac ml-4">
{{if .result.Language}}
- <i class="color-icon" style="background-color: {{.result.Color}}"></i>{{.result.Language}}
+ <i class="color-icon mr-3" style="background-color: {{.result.Color}}"></i>{{.result.Language}}
{{end}}
</div>
- <div class="mr-3">
+ <div class="mr-4">
{{if not .result.UpdatedUnix.IsZero}}
<span class="ui grey text">{{.root.i18n.Tr "explore.code_last_indexed_at" (TimeSinceUnix .result.UpdatedUnix .root.i18n.Lang) | Safe}}</span>
{{end}}