Components.css — react Source File
Architecture documentation for Components.css, a css file in the react codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 9169680e_9eb4_de6b_963f_eeec3876e5bb["Components.css"] a2fac529_5caa_fd15_61d0_e5b11d75bdd2["Components.js"] a2fac529_5caa_fd15_61d0_e5b11d75bdd2 --> 9169680e_9eb4_de6b_963f_eeec3876e5bb style 9169680e_9eb4_de6b_963f_eeec3876e5bb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
.Components {
position: relative;
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
background-color: var(--color-background);
color: var(--color-text);
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);
}
.InspectedElementWrapper {
flex: 1 1 35%;
overflow-x: hidden;
overflow-y: auto;
border-left: 1px solid var(--color-border);
}
.ResizeBarWrapper {
flex: 0 0 0px;
position: relative;
}
.ResizeBar {
position: absolute;
/*
* moving the bar out of its bounding box might cause its hitbox to overlap
* with another scrollbar creating disorienting UX where you both resize and scroll
* at the same time.
* If you adjust this value, double check that starting resize right on this edge
* doesn't also cause scroll
*/
left: 1px;
width: 5px;
height: 100%;
cursor: ew-resize;
}
@container devtools (width < 600px) {
.Components {
flex-direction: column;
}
.TreeWrapper {
flex: 0 0 var(--vertical-resize-percentage);
}
.InspectedElementWrapper {
flex: 1 1 50%;
border-left: none;
}
.ResizeBar {
top: 1px;
left: 0;
width: 100%;
height: 5px;
cursor: ns-resize;
}
}
.Loading {
height: 100%;
padding-left: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
font-size: var(--font-size-sans-large);
color: var(--color-dim);
border-left: 1px solid var(--color-border);
}
Domain
Source
Frequently Asked Questions
What does Components.css do?
Components.css is a source file in the react codebase, written in css. It belongs to the BabelCompiler domain.
What files import Components.css?
Components.css is imported by 1 file(s): Components.js.
Where is Components.css in the architecture?
Components.css is located at packages/react-devtools-shared/src/devtools/views/Components/Components.css (domain: BabelCompiler, directory: packages/react-devtools-shared/src/devtools/views/Components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free