fix(announce): don't increase attachment width (back to rails default)
This commit is contained in:
parent
49cd10458c
commit
8051beb068
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<figure class="attachment attachment--<%= blob.representable? ? "preview" : "file" %> attachment--<%= blob.filename.extension %>">
|
<figure class="attachment attachment--<%= blob.representable? ? "preview" : "file" %> attachment--<%= blob.filename.extension %>">
|
||||||
<% if blob.representable? %>
|
<% if blob.representable? %>
|
||||||
<%= image_tag blob.representation(resize_to_fit: local_assigns[:in_gallery] ? [ 800, 600 ] : [ 1024, 768 ]) %>
|
<%= image_tag blob.representation(resize_to_limit: local_assigns[:in_gallery] ? [ 800, 600 ] : [ 1024, 768 ]) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<figcaption class="attachment__caption">
|
<figcaption class="attachment__caption">
|
||||||
|
|
Loading…
Reference in a new issue