Skip to content

Commit

Permalink
Merge branch 'main' into feat/#18/basic_profile_design
Browse files Browse the repository at this point in the history
  • Loading branch information
Zama15 authored Mar 15, 2024
2 parents 996da26 + d2fd619 commit e5a040e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/posts/_cards.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<% if post.images.attached? %>
<% post.images.each do |image| %>
<div>
<%= image_tag image, width:300 %>
<%= image_tag image.representation(resize_to_limit: [300, 300]) %>
</div>
<% end %>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/posts/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<% if @post.images.attached? %>
<% @post.images.each do |image| %>
<div>
<%= image_tag image, width:250 %>
<%= image_tag image.representation(resize_to_limit: [300, 300]) %>
</div>
<% end %>
<% end %>
Expand Down

0 comments on commit e5a040e

Please sign in to comment.