Skip to content

Commit

Permalink
Rollup merge of rust-lang#102505 - notriddle:sub-variant-h4, r=Guilla…
Browse files Browse the repository at this point in the history
…umeGomez

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.`
  • Loading branch information
matthiaskrgr authored Sep 30, 2022
2 parents 355c8ef + 19b297c commit a0c3ddb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1245,13 +1245,11 @@ h3.variant {
font-weight: 600;
font-size: 1.125rem;
margin-bottom: 10px;
border-bottom: none;
}

.sub-variant h4 {
font-size: 1rem;
font-weight: 400;
border-bottom: none;
margin-top: 0;
margin-bottom: 0;
}
Expand Down

0 comments on commit a0c3ddb

Please sign in to comment.