Skip to content

Commit

Permalink
Fix extension windows positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
zalmoxisus committed Oct 15, 2016
1 parent 61ceb47 commit b1fcef7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/browser/extension/background/openWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export default function openDevToolsWindow(position) {
params.left = window.screen.availLeft + window.screen.availWidth - params.width;
break;
case 'devtools-bottom':
params.height = 350;
params.top = window.screen.availHeight - params.height;
params.height = 420;
params.top = window.screen.height - params.height;
params.width = window.screen.availWidth;
break;
case 'devtools-panel':
Expand Down
18 changes: 11 additions & 7 deletions src/browser/views/devpanel.jade
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
doctype html

html
head
meta(charset='UTF-8')
title Redux DevTools
include ./includes/style.jade
head
meta(charset='UTF-8')
title Redux DevTools
include ./includes/style.jade
style.
html {
min-height: 100px;
}

body
#root
script(src='/js/devpanel.bundle.js')
body
#root
script(src='/js/devpanel.bundle.js')

0 comments on commit b1fcef7

Please sign in to comment.