Fixes proposal moderation

This commit is contained in:
Alberto Garcia Cabeza
2015-09-15 14:19:56 +02:00
parent 2e4f32f109
commit 98ae8c8014
2 changed files with 7 additions and 2 deletions

View File

@@ -203,6 +203,12 @@ body.admin {
margin-left: rem-calc(12);
}
.proposal-description {
height: rem-calc(60);
overflow: hidden;
max-width: rem-calc(750);
}
// 04. Stats
// - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@@ -40,7 +40,7 @@
<span class="bullet">&nbsp;&bull;&nbsp;</span>
<%= proposal.author.username %>
<br>
<div style="height: 4rem; overflow: hidden;">
<div style="proposal-description">
<%= proposal.description %>
</div>
</td>
@@ -51,7 +51,6 @@
<% end %>
</table>
<%= submit_tag t('moderation.proposals.index.block_authors'),
name: "block_authors",
class: "button radius alert",