forked from facebook/react-devtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (50 loc) · 1.35 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!doctype html>
<html>
<head>
<meta charset="utf8">
<title>Container Example</title>
<style>
#target {
flex: 1;
border: none;
}
#container {
display: flex;
}
body {
display: flex;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
padding: 0;
}
body.devtools-bottom {
flex-direction: column;
}
body.devtools-bottom #container {
height: 400px;
max-height: 50%;
}
body.devtools-bottom #target {
border-bottom: 1px solid #ccc;
}
body.devtools-right {
flex-direction: row;
}
body.devtools-right #container {
max-width: 40%;
}
body.devtools-right #target {
border-right: 1px solid #ccc;
}
</style>
</head>
<body class="devtools-bottom">
<iframe id="target"></iframe>
<div id="container"></div>
<script src="build/container.js"></script>
</body>
</html>