Skip to content

Commit b1fcef7

Browse files
committed
Fix extension windows positioning
1 parent 61ceb47 commit b1fcef7

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

src/browser/extension/background/openWindow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ export default function openDevToolsWindow(position) {
4141
params.left = window.screen.availLeft + window.screen.availWidth - params.width;
4242
break;
4343
case 'devtools-bottom':
44-
params.height = 350;
45-
params.top = window.screen.availHeight - params.height;
44+
params.height = 420;
45+
params.top = window.screen.height - params.height;
4646
params.width = window.screen.availWidth;
4747
break;
4848
case 'devtools-panel':

src/browser/views/devpanel.jade

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
doctype html
22

33
html
4-
head
5-
meta(charset='UTF-8')
6-
title Redux DevTools
7-
include ./includes/style.jade
4+
head
5+
meta(charset='UTF-8')
6+
title Redux DevTools
7+
include ./includes/style.jade
8+
style.
9+
html {
10+
min-height: 100px;
11+
}
812

9-
body
10-
#root
11-
script(src='/js/devpanel.bundle.js')
13+
body
14+
#root
15+
script(src='/js/devpanel.bundle.js')

0 commit comments

Comments
 (0)