mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
e7d213dfb0
# Summary - `compiledWithForget` field for nodes is now propagated from the backend to frontend profiler stores - Corresponding node with such field will have a `✨` prefix displayed before its displayName <img width="1728" alt="Screenshot 2024-05-07 at 15 05 37" src="https://github.com/facebook/react/assets/28902667/fe044d40-52cb-4169-867d-5a2d72e3275b"> - Badges are now displayed on the right panel when some fiber is selected in a specific commit <img width="1728" alt="Screenshot 2024-05-07 at 15 05 50" src="https://github.com/facebook/react/assets/28902667/297ba5ca-404d-4172-b9bf-bfed7978afe5"> - Badges are also displayed when user hovers over some node in the tree <img width="1728" alt="Screenshot 2024-05-07 at 15 25 22" src="https://github.com/facebook/react/assets/28902667/bee47884-61d1-46b6-a483-717fc148893a">
59 lines
1008 B
CSS
59 lines
1008 B
CSS
.Toolbar {
|
|
height: 2.25rem;
|
|
padding: 0 0.5rem;
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.Content {
|
|
padding: 0.5rem;
|
|
user-select: none;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.Component {
|
|
flex: 1;
|
|
color: var(--color-component-name);
|
|
font-family: var(--font-family-monospace);
|
|
font-size: var(--font-size-monospace-normal);
|
|
white-space: nowrap;
|
|
overflow-x: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.Label {
|
|
font-weight: bold;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.CurrentCommit,
|
|
.Commit {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: left;
|
|
background: none;
|
|
border: none;
|
|
padding: 0.25rem 0.5rem;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.Commit:focus,
|
|
.Commit:hover {
|
|
outline: none;
|
|
background-color: var(--color-background-hover);
|
|
}
|
|
|
|
.CurrentCommit {
|
|
background-color: var(--color-background-selected);
|
|
color: var(--color-text-selected);
|
|
}
|
|
|
|
.CurrentCommit:focus {
|
|
outline: none;
|
|
}
|