From e4a1443d1ded6e4026685ead7427b2cb35860360 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Fri, 24 Jun 2016 12:07:02 +0100 Subject: [PATCH] Better handling of whitespace. --- services/web/app/views/project/editor/pdf.jade | 2 +- services/web/public/stylesheets/app/editor/pdf.less | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/services/web/app/views/project/editor/pdf.jade b/services/web/app/views/project/editor/pdf.jade index 34c9ece719..c2b27777f8 100644 --- a/services/web/app/views/project/editor/pdf.jade +++ b/services/web/app/views/project/editor/pdf.jade @@ -129,7 +129,7 @@ div.full-size.pdf(ng-controller="PdfController") ) #{translate("answer_no")} .card-hint-feedback(ng-show="feedbackSent") label.card-hint-feedback-label #{translate("log_hint_feedback_gratitude")} - p.entry-content(ng-show="entry.content") {{ entry.content }} + p.entry-content(ng-show="entry.content") {{ entry.content.trim() }} p .pull-right diff --git a/services/web/public/stylesheets/app/editor/pdf.less b/services/web/public/stylesheets/app/editor/pdf.less index f77d497eb0..93818ba2c3 100644 --- a/services/web/public/stylesheets/app/editor/pdf.less +++ b/services/web/public/stylesheets/app/editor/pdf.less @@ -217,6 +217,10 @@ margin-bottom: 20px; } + &-text { + min-height: 35px; + } + &-feedback-label { font-size: inherit; margin-right: 0.5em;