Set custom font size(add api parameter customization.font.size)

This commit is contained in:
Julia Radzhabova
2022-11-09 21:42:51 +03:00
parent dcfd578f73
commit 4701f10fbf
37 changed files with 161 additions and 64 deletions

View File

@ -500,7 +500,7 @@ define([
body.height(parseInt(text_cnt.css('height')) + parseInt(footer.css('height')));
window.setHeight(parseInt(body.css('height')) + parseInt(header.css('height')));
}
if (text.height() < icon_height-10)
if (text.height() < icon_height/2)
text.css({'vertical-align': 'baseline', 'line-height': icon_height+'px'});
}