diff --git a/client/less/chat.less b/client/less/chat.less index 207ab294b1b..a6f83171cad 100644 --- a/client/less/chat.less +++ b/client/less/chat.less @@ -1,3 +1,10 @@ +.chat-embed-main-title { + display: flex; + flex-grow: 1; + padding-left: 31px; + padding-top: 7px; +} + .gitter-chat-embed { z-index: 100; position: fixed; diff --git a/client/main.js b/client/main.js index 2d6a526c773..f4e74c5967b 100644 --- a/client/main.js +++ b/client/main.js @@ -6,6 +6,7 @@ main.ga = window.ga || function() {}; main = (function(main) { + // should be set before gitter script loads ((window.gitter = {}).chat = {}).options = { disableDefaultChat: true }; @@ -20,7 +21,8 @@ main = (function(main) { document.addEventListener('gitter-sidecar-ready', function(e) { main.chat.GitterChat = e.detail.Chat; - main.chat.createHelpChat = function(room, helpChatBtnClass) { + main.chat.createHelpChat = function(room, helpChatBtnClass, roomTitle) { + roomTitle = roomTitle || 'Waypoint Help'; $('body').append( '