From 780340ef040378ae71264346518a0401dc4d0926 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 19 Jan 2014 12:59:21 +0000 Subject: [PATCH] texts: line-height 16px --- static/js/textPanel.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/static/js/textPanel.js b/static/js/textPanel.js index 8d62c304..f5a2aae3 100644 --- a/static/js/textPanel.js +++ b/static/js/textPanel.js @@ -252,9 +252,9 @@ pandora.ui.textHTML = function(text) { data.value && data.value.name && scrollToPosition(); }), scrolling = false, - $content = Ox.Element().css({ - margin: '16px', - }).appendTo(that), + $content = Ox.Element() + .css({margin: '16px'}) + .appendTo(that), $title = Ox.EditableContent({ editable: text.name ? text.editable : false, @@ -324,7 +324,8 @@ pandora.ui.textHTML = function(text) { //height: height + 'px', width: width + 'px', //marginTop: '48px', - fontSize: '12px' + fontSize: '12px', + lineHeight: '16px' }) .bindEvent({ submit: function(data) {