From aef4333264fcbe98da73d6b4a15cfa01bfdfa84d Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Tue, 28 Feb 2017 22:57:32 +0000 Subject: [PATCH] Style dashboard custom images to specific height --- app/views/content/cards/_in_universe_content_list.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/content/cards/_in_universe_content_list.html.erb b/app/views/content/cards/_in_universe_content_list.html.erb index 516a2334..b52b38af 100644 --- a/app/views/content/cards/_in_universe_content_list.html.erb +++ b/app/views/content/cards/_in_universe_content_list.html.erb @@ -7,7 +7,7 @@ <% if images.any? && rand(3) < 2 %> <%= image_tag images.sample.src(:large), class: 'activator' %> <% else %> - <%= image_tag "card-headers/#{content_type.to_s.pluralize}.jpg", class: 'activator' %> + <%= image_tag "card-headers/#{content_type.to_s.pluralize}.jpg", class: 'activator', style: 'height: 265px' %> <% end %>