Css adjustments.

This commit is contained in:
fo 2014-10-27 15:07:37 +02:00
parent 02d8f1a3ca
commit 007564a1e5
1 changed files with 2 additions and 2 deletions

View File

@ -370,7 +370,7 @@ var Chat = (function (my) {
var leftIndent = (Util.getTextWidth(chatButtonElement) - var leftIndent = (Util.getTextWidth(chatButtonElement) -
Util.getTextWidth(unreadMsgElement)) / 2; Util.getTextWidth(unreadMsgElement)) / 2;
var topIndent = (Util.getTextHeight(chatButtonElement) - var topIndent = (Util.getTextHeight(chatButtonElement) -
Util.getTextHeight(unreadMsgElement)) / 2 - 2; Util.getTextHeight(unreadMsgElement)) / 2 - 3;
unreadMsgElement.setAttribute( unreadMsgElement.setAttribute(
'style', 'style',
@ -382,7 +382,7 @@ var Chat = (function (my) {
var bottomLeftIndent = (Util.getTextWidth(chatBottomButtonElement) - var bottomLeftIndent = (Util.getTextWidth(chatBottomButtonElement) -
Util.getTextWidth(unreadMsgBottomElement)) / 2; Util.getTextWidth(unreadMsgBottomElement)) / 2;
var bottomTopIndent = (Util.getTextHeight(chatBottomButtonElement) - var bottomTopIndent = (Util.getTextHeight(chatBottomButtonElement) -
Util.getTextHeight(unreadMsgBottomElement)) / 2 - 3; Util.getTextHeight(unreadMsgBottomElement)) / 2 - 2;
unreadMsgBottomElement.setAttribute( unreadMsgBottomElement.setAttribute(
'style', 'style',