css: factor out shared forum post / comment css.

This commit is contained in:
evazion
2019-09-29 14:09:47 -05:00
parent 5dfc14ba07
commit f34489af02
10 changed files with 60 additions and 102 deletions

View File

@@ -1,7 +1,7 @@
<div id="c-comments">
<div id="a-show">
<div class="comments-for-post">
<div class="list-of-comments">
<div class="list-of-comments list-of-messages">
<%= content_tag(:div, { id: "post_#{@comment.post_id}", class: ["post", *PostPresenter.preview_class(@comment.post)].join(" ") }.merge(PostPresenter.data_attributes(@comment.post))) do %>
<div class="preview">
<% if @comment.post.visible? %>