Statement text align

This commit is contained in:
Mehdi Arfaoui 2015-11-29 04:00:04 +01:00
parent 172af8372a
commit 97e7dd3946
2 changed files with 3 additions and 3 deletions

View file

@ -84,6 +84,6 @@ div#last-statements {
float:left;
margin-right:15px;
}
.span {
.public-figure-text {
overflow:hidden;}
}

View file

@ -7,11 +7,11 @@
<% 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>
<% 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
"<strong><%= statement.position.title %></strong>"
dans le débat sur
<strong><%= statement.position.subject.title %></strong></span>
<strong><%= statement.position.subject.title %></strong></div>
</li>
<% end %>
</ul>