css: unify comment and forum post css.

Unify comments and forum posts to have the same CSS and HTML structure.
Fixes various minor spacing and styling inconsistencies.
This commit is contained in:
evazion
2019-09-26 00:43:57 -05:00
parent 37eb6d0a4d
commit cb6f467764
6 changed files with 31 additions and 33 deletions

View File

@@ -3,13 +3,13 @@
<%= render "comments/partials/index/header", :post => post %>
<% end %>
<div class="row notices">
<% if post.comments.hidden(CurrentUser.user).any? || (page == :comments && post.comments.size > 6) %>
<% if post.comments.hidden(CurrentUser.user).any? || (page == :comments && post.comments.size > 6) %>
<div class="row hidden-comments-notice">
<span class="info" id="threshold-comments-notice-for-<%= post.id %>">
<%= link_to "Show #{pluralize post.comments.hidden(CurrentUser.user).size, "hidden comment"}", comments_path(post_id: post.id), id: "show-all-comments-link", remote: true %>
</span>
<% end %>
</div>
</div>
<% end %>
<div class="list-of-comments">
<% if comments.present? %>