Explorar o código

Better handling of whitespace.

Paulo Reis %!s(int64=10) %!d(string=hai) anos
pai
achega
e4a1443d1d

+ 1 - 1
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

+ 4 - 0
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;