From 1d5904d478474716470d67e38e9685a41257fd4e Mon Sep 17 00:00:00 2001 From: kikito Date: Mon, 21 Sep 2015 12:47:13 +0200 Subject: [PATCH] displays the complete text of the proposal in the moderation interface --- app/assets/stylesheets/admin.scss | 5 ++++- app/views/moderation/proposals/index.html.erb | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 26c38f17a..1cd29620d 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -204,9 +204,12 @@ body.admin { } .proposal-description { - height: rem-calc(60); + height: rem-calc(65); overflow: hidden; max-width: rem-calc(750); + &:hover { + height: auto; + } } // 04. Stats diff --git a/app/views/moderation/proposals/index.html.erb b/app/views/moderation/proposals/index.html.erb index f8939932b..59b9f4b7a 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 %>