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
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@
<% @passport.image.try do |image| %>
<div class="col-md-8 col-lg-6">
<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>
<% end %>