@guardian/threads
Version:
37 lines (29 loc) • 700 B
CSS
.header {
border-bottom: 1px solid var(--color-border-light);
}
.headerText {
font-weight: 600;
}
.spacer,
.headerText {
padding: var(--sp-vertical) var(--sp-base);
margin: 0;
}
.wrap:not([data-horizontal='true']) .spacer > * {
position: relative;
}
.wrap:not([data-horizontal='true']) .spacer > *:not(:first-child) {
border-top: 1px solid var(--color-border-light);
}
.wrap + .wrap {
border-top: 1px solid var(--color-border-light);
}
.wrap:not([data-horizontal='true']) .spacer > *:not(:first-child) {
padding-top: var(--sp-vertical);
margin-top: var(--sp-vertical);
}
.wrap[data-horizontal='true'] .spacer {
display: flex;
align-items: center;
justify-content: space-between;
}