Set max image height
This commit is contained in:
parent
a34941f515
commit
d7e9f30645
1 changed files with 1 additions and 1 deletions
|
@ -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 %>
|
||||||
|
|
Reference in a new issue