Skip to content

Commit 5dd4584

Browse files
authored
Rollup merge of rust-lang#102505 - notriddle:sub-variant-h4, r=GuillaumeGomez
rustdoc: remove no-op CSS `h3.variant, .sub-variant h4 { border-bottom: none }` This rule, added in 69df43b to override the default `h4` style, has been obsoleted when a65c98f changed it so that only the top docblock put `border-bottom` on `h4.`
2 parents 9f0865b + 19b297c commit 5dd4584

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: src/librustdoc/html/static/css/rustdoc.css

-2
Original file line numberDiff line numberDiff line change
@@ -1245,13 +1245,11 @@ h3.variant {
12451245
font-weight: 600;
12461246
font-size: 1.125rem;
12471247
margin-bottom: 10px;
1248-
border-bottom: none;
12491248
}
12501249

12511250
.sub-variant h4 {
12521251
font-size: 1rem;
12531252
font-weight: 400;
1254-
border-bottom: none;
12551253
margin-top: 0;
12561254
margin-bottom: 0;
12571255
}

0 commit comments

Comments
 (0)