aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/style.css6
-rw-r--r--templates/search.tmpl2
2 files changed, 7 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css
index a647d4f..83250af 100644
--- a/static/style.css
+++ b/static/style.css
@@ -426,7 +426,7 @@ a:hover,
}
.search-form {
- margin: 16px 0 0 0;
+ margin: 16px 0 16px 0;
}
.more-container {
@@ -473,6 +473,10 @@ a:hover,
margin-right: 8px;
}
+.no-data-found {
+ margin: 12px 0;
+}
+
.dark {
background-color: #222222;
background-image: none;
diff --git a/templates/search.tmpl b/templates/search.tmpl
index ede147e..560a2c9 100644
--- a/templates/search.tmpl
+++ b/templates/search.tmpl
@@ -20,6 +20,8 @@
{{if eq .Type "statuses"}}
{{range .Statuses}}
{{template "status.tmpl" (WithContext . $.Ctx)}}
+{{else}}
+<div class="no-data-found">No data found</div>
{{end}}
{{end}}