Files
react/packages/react-devtools-shared/src/devtools/views/Profiler/SidebarEventInfo.css
T
Blake Friedman 2e1c8841e9 [DevTools] front-end for profiling event stack (#24805)
* [DevTools] front-end for profiling event stack

Adds a side-bar to the profiling tab. Users can now select an update event, and are
shown the callstack from the originating component. When a source path is available
there is now UI to jump to source.

Add FB enabled feature flag: enableProfilerComponentTree for the side-bar.

resolves #24170
2022-06-28 22:15:24 +01:00

71 lines
971 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: auto;
}
.List {
list-style: none;
margin: 0;
padding: 0;
}
.ListItem {
margin: 0;
}
.Label {
display: flex;
justify-content: space-between;
font-weight: bold;
}
[data-source="true"]:hover .Label > .Button {
background-color: var(--color-background-hover);
}
.Value {
font-family: var(--font-family-monospace);
font-size: var(--font-size-monospace-normal);
}
.NothingSelected {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
color: var(--color-dim);
}
.Button {
display: flex;
flex: 1;
max-width: 95%;
overflow: hidden;
text-overflow: ellipsis;
}
[data-source="true"] .Button {
cursor: pointer;
}
.Button > span {
display: block;
text-align: left;
}
.Source {
}