Skip to content

Commit 88b137d

Browse files
Fix headings border
1 parent 4df8e78 commit 88b137d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ h2, h3, h4 {
167167
h2,
168168
.top-doc .docblock > h3,
169169
.top-doc .docblock > h4 {
170-
border-bottom: 1px solid;
170+
border-bottom: 1px solid var(--headings-border-bottom-color);
171171
}
172172
h3.code-header {
173173
font-size: 1.125rem; /* 18px */

src/librustdoc/html/static/css/themes/dark.css

-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ input:focus + .slider {
4242
background-color: #0a042f !important;
4343
}
4444

45-
.docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5, .docblock h6 {
46-
border-bottom-color: #DDD;
47-
}
48-
4945
.docblock table td, .docblock table th {
5046
border-color: #ddd;
5147
}

0 commit comments

Comments
 (0)