fix
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<% @posts.each do |post| %>
|
||||
<div class="post">
|
||||
<div class="preview">
|
||||
<%= link_to(image_tag(post.preview_file_url, :style => "margin-left: #{PostPresenter.margin(post)};"), post_path(post)) %>
|
||||
<%= link_to(image_tag(post.preview_file_url, :style => "margin-left: #{PostPresenter.margin_left(post)}; margin-top: #{PostPresenter.margin_top(post)};"), post_path(post)) %>
|
||||
</div>
|
||||
<%= render "comments/partials/index/list", :post => post, :comments => post.comments.visible(CurrentUser.user).recent, :show_header => true %>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
Reference in New Issue
Block a user