diff --git a/app/components/post_preview_component/post_preview_component.html.erb b/app/components/post_preview_component/post_preview_component.html.erb index 1333c8368..7c1bf7728 100644 --- a/app/components/post_preview_component/post_preview_component.html.erb +++ b/app/components/post_preview_component/post_preview_component.html.erb @@ -42,7 +42,7 @@ <% end %>
- <%= link_to number_to_human_size(file_size), post.file_url %> + <%= link_to "#{number_to_human_size(file_size)} .#{file_ext}", post.file_url %> (<%= post.image_width %>x<%= post.image_height %>)
@@ -50,7 +50,7 @@
<% elsif show_size -%>- <%= link_to number_to_human_size(file_size), post.file_url %> + <%= link_to "#{number_to_human_size(file_size)} .#{file_ext}", post.file_url %> (<%= post.image_width %>x<%= post.image_height %>)
<% elsif recommended -%>