From 937b088f08aa961c461854a3fd9a4d420822a314 Mon Sep 17 00:00:00 2001 From: Koen Bok Date: Tue, 10 May 2016 20:59:50 +0200 Subject: [PATCH] Little bigger text and vertically center --- framer/Extras/ErrorDisplay.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framer/Extras/ErrorDisplay.coffee b/framer/Extras/ErrorDisplay.coffee index 9c9e72d05..ba0a84fcb 100644 --- a/framer/Extras/ErrorDisplay.coffee +++ b/framer/Extras/ErrorDisplay.coffee @@ -16,7 +16,7 @@ if Utils.isMobile() else Config.height = 40 Config.textInset = 12 - Config.fontSize = 13 + Config.fontSize = 14 class ErrorDisplay extends BaseClass @@ -57,7 +57,7 @@ class ErrorDisplay extends BaseClass error.text.style = font: "#{Config.fontSize}px/1em #{Utils.deviceFont()}" - lineHeight: "#{error.text.height}px" + lineHeight: "#{parseInt(error.text.height - 2)}px" textAlign: "center" wordWrap: "break-word" textOverflow: "ellipsis"