Skip to content

Commit 4eb5891

Browse files
authored
DevTools: Handle restricted browser pages properly like new tab page, extensions page etc(only chrome and edge for now) (#20023)
1 parent 6d50a9d commit 4eb5891

File tree

13 files changed

+61
-33
lines changed

13 files changed

+61
-33
lines changed
Loading
Loading
Loading
Loading
Lines changed: 1 addition & 0 deletions
Loading

packages/react-devtools-extensions/popups/deadcode.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<script src="shared.js"></script>
2+
<link rel="stylesheet" href="shared.css" />
23
<style>
34
html, body {
4-
font-size: 14px;
55
min-width: 460px;
66
min-height: 133px;
77
}
88

9-
body {
10-
margin: 8px;
11-
}
12-
139
hr {
1410
width: 100%;
1511
}

packages/react-devtools-extensions/popups/development.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<script src="shared.js"></script>
2+
<link rel="stylesheet" href="shared.css" />
23
<style>
34
html, body {
4-
font-size: 14px;
55
min-width: 460px;
66
min-height: 101px;
77
}
88

9-
body {
10-
margin: 8px;
11-
}
12-
139
hr {
1410
width: 100%;
1511
}

packages/react-devtools-extensions/popups/disabled.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<script src="shared.js"></script>
2+
<link rel="stylesheet" href="shared.css" />
23
<style>
34
html, body {
4-
font-size: 14px;
55
min-width: 410px;
66
min-height: 33px;
77
}
88

9-
body {
10-
margin: 8px;
11-
}
12-
139
hr {
1410
width: 100%;
1511
}

packages/react-devtools-extensions/popups/outdated.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<script src="shared.js"></script>
2+
<link rel="stylesheet" href="shared.css" />
23
<style>
34
html, body {
4-
font-size: 14px;
55
min-width: 460px;
66
min-height: 117px;
77
}
88

9-
body {
10-
margin: 8px;
11-
}
12-
139
hr {
1410
width: 100%;
1511
}

packages/react-devtools-extensions/popups/production.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<script src="shared.js"></script>
2+
<link rel="stylesheet" href="shared.css" />
23
<style>
34
html, body {
4-
font-size: 14px;
55
min-width: 460px;
66
min-height: 39px;
77
}
88

9-
body {
10-
margin: 8px;
11-
}
12-
139
hr {
1410
width: 100%;
1511
}

0 commit comments

Comments
 (0)