From 98ae8c8014bc9b418fab204d6a4f16f02c396474 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Tue, 15 Sep 2015 14:19:56 +0200 Subject: [PATCH] Fixes proposal moderation --- app/assets/stylesheets/admin.scss | 6 ++++++ app/views/moderation/proposals/index.html.erb | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 378ff15c0..26c38f17a 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -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 // - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/views/moderation/proposals/index.html.erb b/app/views/moderation/proposals/index.html.erb index c7abaf18a..f8939932b 100644 --- a/app/views/moderation/proposals/index.html.erb +++ b/app/views/moderation/proposals/index.html.erb @@ -40,7 +40,7 @@  •  <%= proposal.author.username %>
-
+
<%= proposal.description %>
@@ -51,7 +51,6 @@ <% end %> - <%= submit_tag t('moderation.proposals.index.block_authors'), name: "block_authors", class: "button radius alert",