Skip to content

Commit c6ff506

Browse files
committed
Improve styles
Related #17.
1 parent d3e52c5 commit c6ff506

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

src/browser/views/devpanel.jade

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ html
44
head
55
meta(charset='UTF-8')
66
title Redux DevTools
7+
include ./includes/style.jade
78

89
body
910
#root
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
style.
2+
html {
3+
min-width: 350px;
4+
min-height: 300px;
5+
}
6+
body {
7+
position: fixed;
8+
overflow: hidden;
9+
height: 100%;
10+
width: 100%;
11+
margin: 0;
12+
padding: 0;
13+
}
14+
#root {
15+
height: 100%;
16+
}
17+
#root > div {
18+
height: 100%;
19+
}

src/browser/views/window.jade

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ html
44
head
55
meta(charset='UTF-8')
66
title Redux DevTools
7-
style.
8-
#root {
9-
min-width: 300px;
10-
min-height: 300px;
11-
}
7+
include ./includes/style.jade
128

139
body
1410
#root

0 commit comments

Comments
 (0)