Files
react/packages/react-devtools-scheduling-profiler/src/SchedulingProfiler.css
T
Brian Vaughn 5660c52b89 Scheduling Profiler: Improve warnings and add unit tests (#22038)
* Scheduling Profiler: Updated instructions to mentioned v18+ requirement

* Moved long-event warning to post processing

This lets us rule out non-React work or React work that started before the event and finished quickly during the event.

Also added unit tests for this warning and the various cases.

* Moved long-event warning to post processing

This lets us rule out non-React work or React work that started before the event and finished quickly during the event.

Also added unit tests for this warning and the various cases.

* Updated nested update warning text

* Udpate warning about suspending outside of a transition

Handle edge case where component suspends before the first commit (and label metadata) has been logged.

Add unit tests.

* Fixed logic error in getBatchRange() with minStartTime

* PR feedback: Combined a conditional statement
2021-08-06 14:57:52 -04:00

62 lines
1009 B
CSS

.Content {
width: 100%;
position: relative;
flex: 1 1 auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.Paragraph {
text-align: center;
}
.ErrorMessage {
margin: 0.5rem 0;
color: var(--color-dim);
font-family: var(--font-family-monospace);
font-size: var(--font-size-monospace-normal);
}
.Row {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-flow: wrap;
}
.EmptyStateContainer {
text-align: center;
}
.Header {
font-size: var(--font-size-sans-large);
margin-bottom: 0.5rem;
}
.WelcomeInstructionsList {
}
.WelcomeInstructionsListItem {
display: flex;
align-items: center;
line-height: 1.5rem;
counter-increment: li;
}
.WelcomeInstructionsListItem::before {
content: counter(li);
margin-right: 0.5rem;
}
.WelcomeInstructionsListItemLink {
color: var(--color-link);
margin-left: 0.25rem;
margin-right: 0.25rem;
}
.ImportButtonLabel {
margin-left: 0.25rem;
}