From 007564a1e5299c633fb8a49d1bb6c821bf32e753 Mon Sep 17 00:00:00 2001 From: fo Date: Mon, 27 Oct 2014 15:07:37 +0200 Subject: [PATCH] Css adjustments. --- chat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chat.js b/chat.js index b789eba4d..3a85cabf1 100644 --- a/chat.js +++ b/chat.js @@ -370,7 +370,7 @@ var Chat = (function (my) { var leftIndent = (Util.getTextWidth(chatButtonElement) - Util.getTextWidth(unreadMsgElement)) / 2; var topIndent = (Util.getTextHeight(chatButtonElement) - - Util.getTextHeight(unreadMsgElement)) / 2 - 2; + Util.getTextHeight(unreadMsgElement)) / 2 - 3; unreadMsgElement.setAttribute( 'style', @@ -382,7 +382,7 @@ var Chat = (function (my) { var bottomLeftIndent = (Util.getTextWidth(chatBottomButtonElement) - Util.getTextWidth(unreadMsgBottomElement)) / 2; var bottomTopIndent = (Util.getTextHeight(chatBottomButtonElement) - - Util.getTextHeight(unreadMsgBottomElement)) / 2 - 3; + Util.getTextHeight(unreadMsgBottomElement)) / 2 - 2; unreadMsgBottomElement.setAttribute( 'style',