mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
Wrap Components and Profiler tabs with box-size style too (#18286)
For the browser extension, these views get rendered into portals and so they don't inherit the box-sizing style from the .DevTools wrapper element. This causes views like the Profiler commit selector to subtly break.
This commit is contained in:
parent
5374919033
commit
97a8c72bf8
|
|
@ -9,6 +9,11 @@
|
|||
font-family: var(--font-family-sans);
|
||||
}
|
||||
|
||||
.Components, .Components * {
|
||||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: var(--font-smoothing);
|
||||
}
|
||||
|
||||
.TreeWrapper {
|
||||
flex: 0 0 var(--horizontal-resize-percentage);
|
||||
overflow: auto;
|
||||
|
|
|
|||
|
|
@ -56,6 +56,5 @@
|
|||
|
||||
.DevTools, .DevTools * {
|
||||
box-sizing: border-box;
|
||||
|
||||
-webkit-font-smoothing: var(--font-smoothing);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,11 @@
|
|||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.Profiler, .Profiler * {
|
||||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: var(--font-smoothing);
|
||||
}
|
||||
|
||||
.LeftColumn {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user