Resize public figure face 👍

This commit is contained in:
Marwann 2016-02-07 03:35:03 +01:00
parent 0062bf73f6
commit c604fd49f3

View file

@ -22,7 +22,7 @@
<p><%= pluralize(subject.positions.count, 'positions') %>, <%= pluralize(subject.statements.count, 'prise de position') %></p> <p><%= pluralize(subject.positions.count, 'positions') %>, <%= pluralize(subject.statements.count, 'prise de position') %></p>
</div> </div>
<div style="text-align:center;"> <% subject.implied_public_figures.each do |public_figure| %> <div style="text-align:center;"> <% subject.implied_public_figures.each do |public_figure| %>
<div style="height:50px; width: 50px; -webkit-border-radius: 50%; border-radius: 50%; background: url('<%= public_figure.picture.url %>') 50% 50% no-repeat; background-size:cover; background-position: center center; float:right; margin-right:15px;"></div> <div style="height:30px; width: 30px; -webkit-border-radius: 50%; border-radius: 50%; background: url('<%= public_figure.picture.url %>') 50% 50% no-repeat; background-size:cover; background-position: center center; float:right; margin-right:15px;"></div>
<% end %> <% end %>
</div> </div>