Skip to content

Commit 6b34d8f

Browse files
committed
restore border for labeled paragraphs
1 parent 8274263 commit 6b34d8f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/css/labels.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,21 @@ h1 > .header-label {
6262
margin-bottom: 0.2rem;
6363
}
6464

65+
66+
.paragraph.has-label {
67+
padding-left: 0.4rem;
68+
border-left: 2px solid rgba(var(--colors-baltic-60));
69+
}
70+
71+
.paragraph.has-label:has(> .labels > .label--new) {
72+
border-left-color: var(--success-color);
73+
}
74+
75+
.paragraph.has-label:has(> .labels > .label--deprecated) {
76+
border-left-color: var(--deprecated-color);
77+
}
78+
79+
6580
h2 > .flex-label {
6681
float: inline-end;
6782
line-height: var(--doc-line-height);

0 commit comments

Comments
 (0)