show number of comments in post view

This commit is contained in:
teddit 2020-12-18 18:54:05 +01:00
parent dc2b041050
commit d189e25fc0
2 changed files with 7 additions and 0 deletions

5
dist/css/styles.css vendored
View File

@ -702,6 +702,11 @@ input[type="submit"]:hover,
float: left;
width: 100%;
}
#post .comments-info {
float: left;
width: calc(100% - 30px);
margin: 10px 0px 10px 30px;
}
#post .comment .meta p.stickied {
color: green;
}

View File

@ -134,5 +134,7 @@ html
.infobar
p you are viewing a single comment's thread.
a(href="" + post_url + "") view the rest of the comments →
.comments-info
p all #{post.num_comments} comments
!= comments