From a4b0671b585a25871fac3f23b69b2fbe1ad3b7fa Mon Sep 17 00:00:00 2001 From: Michael Prager Date: Thu, 24 May 2012 22:00:20 +0200 Subject: [PATCH] reduced overall widget height available for text (72 instead of 82 pixels) to give more space for a visual border margin. --- comingNext/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comingNext/index.html b/comingNext/index.html index 98ab3bf..5f84537 100644 --- a/comingNext/index.html +++ b/comingNext/index.html @@ -741,14 +741,14 @@ function updateData() if (mode == 0) { if (config['fontsize'].Value == config['fontsize'].ValidValues[0]) { fontsize = parseInt(72 / config['eventsPerWidget'].Value) + 'px'; - lineheight = parseInt(82 / config['eventsPerWidget'].Value) + 'px'; + lineheight = parseInt(72 / config['eventsPerWidget'].Value) + 'px'; } } if (config['fontsize'].Value != config['fontsize'].ValidValues[0]) { fontsize = config['fontsize'].Value + 'px'; lineheight = fontsize; } - changeCssClass('.icon', config['cssStyle_icon'].Value + '; width:' + lineheight + '; height:' + lineheight + ';'); + changeCssClass('.icon', config['cssStyle_icon'].Value + '; width:' + fontsize + '; height:' + fontsize + ';'); var entriesHtml = ''; if (mode == 0) entriesHtml = '
' + entriesHtml; // this is needed to center the actual content vertically -- 2.39.2