mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Style dashboard custom images to specific height
This commit is contained in:
parent
2d90cd6c9f
commit
aef4333264
@ -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 %>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user