X-Git-Url: https://code.delx.au/comingnext/blobdiff_plain/f885dca26071eab548bcb54024f68678f0306012..a4b0671b585a25871fac3f23b69b2fbe1ad3b7fa:/comingNext/index.html 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