diff --git a/couchpotato/static/scripts/page/settings.js b/couchpotato/static/scripts/page/settings.js index 94643cc7..92cdf36b 100644 --- a/couchpotato/static/scripts/page/settings.js +++ b/couchpotato/static/scripts/page/settings.js @@ -574,7 +574,7 @@ Option.Directory = new Class({ self.el.adopt( self.createLabel(), - new Element('span.directory.inlay', { + self.directory_inlay = new Element('span.directory.inlay', { 'events': { 'click': self.showBrowser.bind(self) } @@ -664,7 +664,7 @@ Option.Directory = new Class({ } }) ) - ).inject(self.input, 'before'); + ).inject(self.directory_inlay, 'before'); new Form.Check(self.show_hidden); } diff --git a/couchpotato/static/style/page/settings.css b/couchpotato/static/style/page/settings.css index 464be778..4d157f58 100644 --- a/couchpotato/static/style/page/settings.css +++ b/couchpotato/static/style/page/settings.css @@ -208,7 +208,7 @@ z-index: 2; position: absolute; width: 450px; - margin: 28px 0 20px -4px; + margin: 28px 0 20px 18%; background: #5c697b; border-radius: 3px; box-shadow: 0 0 50px rgba(0,0,0,0.55); @@ -221,7 +221,7 @@ display: block; position: absolute; width: 0px; - margin: -6px 0 0 38%; + margin: -6px 0 0 22%; } .page .directory_list ul {