Skip to content

Commit

Permalink
resize to limit
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Oct 18, 2024
1 parent da607f8 commit 622fa1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/com/panel/blobs/_base/_index_tbody.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<td><%= image_tag model.url, class: 'image is-64x64' if model.image? %></td>
<td><%= image_tag model.variant(resize_to_limit: [64, 64]).url, class: 'image is-64x64' if model.image? %></td>
<td>
<p><%= model.id %></p>
<p><%= model.key %></p>
Expand Down

0 comments on commit 622fa1e

Please sign in to comment.