diff --git a/app/assets/stylesheets/specific/posts.css.scss b/app/assets/stylesheets/specific/posts.css.scss index 6fff835eb..fa1e38c74 100644 --- a/app/assets/stylesheets/specific/posts.css.scss +++ b/app/assets/stylesheets/specific/posts.css.scss @@ -14,27 +14,27 @@ article.post-preview { } } -article.post-preview.blacklisted-active { +.post-preview.blacklisted-active { display: none; } -article.post-preview { +.post-preview { border: 2px solid transparent; } -article.post-preview.post-status-has-parent img { +.post-preview.post-status-has-parent img { border: 2px solid #CC0; } -article.post-preview.post-status-has-children img { +.post-preview.post-status-has-children img { border: 2px solid #0F0; } -article.post-preview.post-status-pending img { +.post-preview.post-status-pending img { border: 2px solid #00F; } -article.post-preview.post-status-flagged img { +.post-preview.post-status-flagged img { border: 2px solid #F00; } diff --git a/app/views/comments/index_by_post.html.erb b/app/views/comments/index_by_post.html.erb index 2d6c2af67..730db3948 100644 --- a/app/views/comments/index_by_post.html.erb +++ b/app/views/comments/index_by_post.html.erb @@ -7,7 +7,7 @@ <% end %> <% @posts.each do |post| %> -
+
<%= link_to(image_tag(post.preview_file_url), post_path(post)) %>