Css adjustments.
This commit is contained in:
parent
02d8f1a3ca
commit
007564a1e5
4
chat.js
4
chat.js
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue