From 7cf9796abc86f8d75978c87b11e7e32ebb65592f Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 17 Feb 2016 19:32:13 +0800 Subject: [PATCH] link section fixed plus order modal updated --- app/views/admin/ad_banners/show.html.erb | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) 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 %>