-
Notifications
You must be signed in to change notification settings - Fork 47.6k
/
Copy pathmulti.html
57 lines (56 loc) · 1.36 KB
/
multi.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
57
<!doctype html>
<html>
<head>
<meta charset="utf8">
<title>React DevTools</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
body {
display: flex;
flex-direction: row;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial,
sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
font-size: 12px;
line-height: 1.5;
}
.column {
display: flex;
flex-direction: column;
flex: 1 1 50%;
}
.column:first-of-type {
border-right: 1px solid #3d424a;
}
.iframe {
height: 50%;
flex: 0 0 50%;
border: none;
}
.devtools {
height: 50%;
flex: 0 0 50%;
}
</style>
</head>
<body>
<div class="column left-column">
<iframe id="iframe-left" class="iframe"></iframe>
<div id="devtools-left" class="devtools"></div>
</div>
<div class="column">
<iframe id="iframe-right" class="iframe"></iframe>
<div id="devtools-right" class="devtools"></div>
</div>
<script src="dist/multi-devtools.js"></script>
</body>
</html>