Resize public figure face 👍
This commit is contained in:
parent
0062bf73f6
commit
c604fd49f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue