From 58765c20a0a78e99b229a6131143ad56c8abac96 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 27 Sep 2013 12:10:30 -0700 Subject: [PATCH] Fix chat box layout --- clientapp/views/main.js | 4 +++- public/css/app/chat.styl | 2 +- public/css/otalk.css | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/clientapp/views/main.js b/clientapp/views/main.js index 85ab82c..999dfc6 100644 --- a/clientapp/views/main.js +++ b/clientapp/views/main.js @@ -11,7 +11,9 @@ module.exports = HumanView.extend({ template: templates.body, initialize: function () { this.listenTo(app.state, 'change:title', this.handleTitle); - window.macgap.dock.badge = ''; + if (window.macgap) { + window.macgap.dock.badge = ''; + } }, events: { 'click a[href]': 'handleLinkClick', diff --git a/public/css/app/chat.styl b/public/css/app/chat.styl index 26eb48f..0019e87 100644 --- a/public/css/app/chat.styl +++ b/public/css/app/chat.styl @@ -149,7 +149,7 @@ bottom: 0px position: fixed right: 0px - left: 181px + left: 201px z-index: 200 form diff --git a/public/css/otalk.css b/public/css/otalk.css index 18aa8ca..9a03b24 100644 --- a/public/css/otalk.css +++ b/public/css/otalk.css @@ -812,7 +812,7 @@ h3 { bottom: 0px; position: fixed; right: 0px; - left: 181px; + left: 201px; z-index: 200; } .chatBox form {