Statement text align
This commit is contained in:
parent
172af8372a
commit
97e7dd3946
2 changed files with 3 additions and 3 deletions
|
|
@ -84,6 +84,6 @@ div#last-statements {
|
||||||
float:left;
|
float:left;
|
||||||
margin-right:15px;
|
margin-right:15px;
|
||||||
}
|
}
|
||||||
.span {
|
.public-figure-text {
|
||||||
overflow:hidden;}
|
overflow:hidden;}
|
||||||
}
|
}
|
||||||
|
|
@ -7,11 +7,11 @@
|
||||||
<% if statement.public_figure.picture? %>
|
<% if statement.public_figure.picture? %>
|
||||||
<div style="height:50px; width: 50px; -webkit-border-radius: 50%; border-radius: 50%; background: url('<%= statement.public_figure.picture.url %>') 50% 50% no-repeat; background-size:cover; background-position: center center; float:left; margin-right:15px;"></div>
|
<div style="height:50px; width: 50px; -webkit-border-radius: 50%; border-radius: 50%; background: url('<%= statement.public_figure.picture.url %>') 50% 50% no-repeat; background-size:cover; background-position: center center; float:left; margin-right:15px;"></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<span class="public-figure-text"><strong><%= statement.public_figure.name %></strong>
|
<div class="public-figure-text"><strong><%= statement.public_figure.name %></strong>
|
||||||
s'est déclaré pour
|
s'est déclaré pour
|
||||||
"<strong><%= statement.position.title %></strong>"
|
"<strong><%= statement.position.title %></strong>"
|
||||||
dans le débat sur
|
dans le débat sur
|
||||||
<strong><%= statement.position.subject.title %></strong></span>
|
<strong><%= statement.position.subject.title %></strong></div>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue