Skip to content

Commit

Permalink
Little bigger text and vertically center
Browse files Browse the repository at this point in the history
  • Loading branch information
koenbok committed May 10, 2016
1 parent d85c0fa commit 937b088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framer/Extras/ErrorDisplay.coffee
Expand Up @@ -16,7 +16,7 @@ if Utils.isMobile()
else
Config.height = 40
Config.textInset = 12
Config.fontSize = 13
Config.fontSize = 14


class ErrorDisplay extends BaseClass
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 937b088

Please sign in to comment.