From b218f10102e5d3d93e171f9d18fb80affb50eeee Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Mon, 14 Sep 2015 18:50:29 +0200 Subject: [PATCH] Fixes error messages and overflow on comments --- app/assets/stylesheets/debates.scss | 1 + app/assets/stylesheets/proposals.scss | 1 + app/views/comments/_errors.html.erb | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/debates.scss b/app/assets/stylesheets/debates.scss index 7078c6718..e2b32577e 100644 --- a/app/assets/stylesheets/debates.scss +++ b/app/assets/stylesheets/debates.scss @@ -679,6 +679,7 @@ .comment-user { margin-top: rem-calc(6); padding: rem-calc(6) 0; + overflow: hidden; @each $n in ("1", "2", "3","4", "5") { &.level-#{$n} { diff --git a/app/assets/stylesheets/proposals.scss b/app/assets/stylesheets/proposals.scss index 9cb27b0c3..ba737596f 100644 --- a/app/assets/stylesheets/proposals.scss +++ b/app/assets/stylesheets/proposals.scss @@ -634,6 +634,7 @@ .comment-user { margin-top: rem-calc(6); padding: rem-calc(6) 0; + overflow: hidden; @each $n in ("1", "2", "3","4", "5") { &.level-#{$n} { diff --git a/app/views/comments/_errors.html.erb b/app/views/comments/_errors.html.erb index 777225f64..e70eed258 100644 --- a/app/views/comments/_errors.html.erb +++ b/app/views/comments/_errors.html.erb @@ -1,2 +1,3 @@ -
<%= t("errors.messages.blank").capitalize %>
- +
+ <%= t("errors.messages.blank").capitalize %> +