From d7e9f3064577e5025a66630da6426d72c4416484 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sun, 2 Dec 2018 18:27:52 +0500 Subject: [PATCH] Set max image height --- app/views/passports/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/passports/show.html.erb b/app/views/passports/show.html.erb index efd580f..7ed81c2 100644 --- a/app/views/passports/show.html.erb +++ b/app/views/passports/show.html.erb @@ -140,7 +140,7 @@ <% @passport.image.try do |image| %>
- <%= image_tag url_for(image), id: :image, class: 'img-fluid' %> + <%= image_tag url_for(image), id: :image, class: 'img-fluid', style: 'max-height: 600px' %>
<% end %>