diff --git a/app/views/admin/ad_banners/show.html.erb b/app/views/admin/ad_banners/show.html.erb index ec1eb54..fae4048 100644 --- a/app/views/admin/ad_banners/show.html.erb +++ b/app/views/admin/ad_banners/show.html.erb @@ -15,15 +15,20 @@ cursor: move; } - .order-list-image img{ - margin-left: 10px; - width: 75px; - margin-bottom: 5px; - } .order-list-image h4{ display: inline-block; margin-left: 30px; } + + #sort-images-modal .modal-body { + max-height: 60vh; + } + + #sort-images-modal .modal-body .order-list-image img { + width: 150px; + margin: 0 0 10px 10px; + } + <% end %>

@@ -71,7 +76,9 @@ <% end %> - <%= image.out_link rescue "" %> + <% if image.out_link != "" %> + " target="_blank">Link + <% end %> <% end %>