1
0
Fork 0

Set max image height

This commit is contained in:
Alex Kotov 2018-12-02 18:27:52 +05:00
parent a34941f515
commit d7e9f30645
No known key found for this signature in database
GPG key ID: 4E831250F47DE154

View file

@ -140,7 +140,7 @@
<% @passport.image.try do |image| %> <% @passport.image.try do |image| %>
<div class="col-md-8 col-lg-6"> <div class="col-md-8 col-lg-6">
<div> <div>
<%= image_tag url_for(image), id: :image, class: 'img-fluid' %> <%= image_tag url_for(image), id: :image, class: 'img-fluid', style: 'max-height: 600px' %>
</div> </div>
</div> </div>
<% end %> <% end %>