diff --git a/config.js b/config.js index 9d6fb6a1e..8f25c6b76 100644 --- a/config.js +++ b/config.js @@ -70,5 +70,5 @@ var config = { 'During that time service will not be available. ' + 'Apologise for inconvenience.',*/ disableThirdPartyRequests: false, - minHDResolution: 540 + minHDHeight: 540 }; diff --git a/css/chat.css b/css/chat.css index 1cf801c0e..65a7a068f 100644 --- a/css/chat.css +++ b/css/chat.css @@ -95,8 +95,6 @@ #unreadMessages { font-size: 8px; position: absolute; - left: 46%; - top: 27% } #bottomUnreadMessages { diff --git a/css/main.css b/css/main.css index 7f072754b..907151670 100644 --- a/css/main.css +++ b/css/main.css @@ -47,7 +47,7 @@ html, body{ position: relative; color: #FFFFFF; top:0px; - padding-top: 9px; + padding-top: 10px; width: 38px; height: 28px; cursor: pointer; @@ -55,6 +55,7 @@ html, body{ text-shadow: 0 1px 0 rgba(255,255,255,.3), 0 -1px 0 rgba(0,0,0,.6); z-index: 1; font-size: 1.22em !important; + vertical-align: middle; } .toolbar_span>span { diff --git a/modules/UI/avatar/Avatar.js b/modules/UI/avatar/Avatar.js index 7fbadd444..ac01d21f5 100644 --- a/modules/UI/avatar/Avatar.js +++ b/modules/UI/avatar/Avatar.js @@ -44,7 +44,6 @@ export default { if (!avatarId) { console.warn( `No avatar stored yet for ${userId} - using ID as avatar ID`); - console.log("USER ID ", userId); avatarId = userId; } avatarId = MD5.hexdigest(avatarId.trim().toLowerCase()); diff --git a/modules/UI/side_pannels/chat/Chat.js b/modules/UI/side_pannels/chat/Chat.js index 0264350f3..00fe47dc7 100644 --- a/modules/UI/side_pannels/chat/Chat.js +++ b/modules/UI/side_pannels/chat/Chat.js @@ -35,7 +35,7 @@ function setVisualNotification(show) { var leftIndent = (UIUtil.getTextWidth(chatButtonElement) - UIUtil.getTextWidth(unreadMsgElement)) / 2; var topIndent = (UIUtil.getTextHeight(chatButtonElement) - - UIUtil.getTextHeight(unreadMsgElement)) / 2 - 3; + UIUtil.getTextHeight(unreadMsgElement)) / 2 - 5; unreadMsgElement.setAttribute( 'style', diff --git a/modules/UI/videolayout/ConnectionIndicator.js b/modules/UI/videolayout/ConnectionIndicator.js index 40bb85363..589f15ffe 100644 --- a/modules/UI/videolayout/ConnectionIndicator.js +++ b/modules/UI/videolayout/ConnectionIndicator.js @@ -376,7 +376,7 @@ ConnectionIndicator.prototype.updateResolutionIndicator = function () { let resolutions = this.resolution || {}; Object.keys(resolutions).map(function (ssrc) { let {width, height} = resolutions[ssrc]; - if (height >= config.minHDResolution) + if (height >= config.minHDHeight) showResolutionLabel = true; }); }