mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
fbfe08de61
Alternative to https://github.com/facebook/react/pull/30667. Basically wrap every section in a `div` with the same class, and only apply `border-bottom` for every instance, except for the last child. We are paying some cost by having more divs, but thats more explicit.
21 lines
377 B
CSS
21 lines
377 B
CSS
.SourceHeaderRow {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 24px;
|
|
}
|
|
|
|
.SourceHeader {
|
|
flex: 1 1;
|
|
font-family: var(--font-family-sans);
|
|
}
|
|
|
|
.SourceOneLiner {
|
|
font-family: var(--font-family-monospace);
|
|
font-size: var(--font-size-monospace-normal);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 100%;
|
|
margin-left: 1rem;
|
|
}
|