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:
Brian Vaughn 2020-03-11 19:12:57 -07:00 committed by GitHub
parent 5374919033
commit 97a8c72bf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View File

@ -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;

View File

@ -56,6 +56,5 @@
.DevTools, .DevTools * {
box-sizing: border-box;
-webkit-font-smoothing: var(--font-smoothing);
}

View File

@ -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;