Skip to content

Commit 9cc094a

Browse files
Scope dev tools wildcard styles within DevTools CSS class
1 parent f749045 commit 9cc094a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/react-devtools-shared/src/devtools/views/DevTools.css

+6
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@
5353
display: none;
5454
}
5555
}
56+
57+
.DevTools, .DevTools * {
58+
box-sizing: border-box;
59+
60+
-webkit-font-smoothing: var(--font-smoothing);
61+
}

packages/react-devtools-shared/src/devtools/views/root.css

-6
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,3 @@
182182
--interaction-commit-size: 10px;
183183
--interaction-label-width: 200px;
184184
}
185-
186-
* {
187-
box-sizing: border-box;
188-
189-
-webkit-font-smoothing: var(--font-smoothing);
190-
}

0 commit comments

Comments
 (0)