display number of results in search

This commit is contained in:
teddit 2021-01-20 21:33:48 +01:00
parent e0177482b2
commit da9bf3b3e0
2 changed files with 5 additions and 0 deletions

View File

@ -1134,6 +1134,10 @@ a.sub-to-subreddit.gray {
border-radius: 0px;
margin-bottom: 11px;
}
p.number-of-results {
font-size: 0.9rem;
margin: 0px 0px 20px 20px;
}
/* REDDIT STYLES */
.md .md-spoiler-text {
border-radius:2px;

View File

@ -100,6 +100,7 @@ html
if json.posts.length === 0 && !no_query
p no results
else
p.number-of-results results: #{json.posts.length}
each link in json.posts
.link
.upvotes