mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Rollup merge of #102505 - notriddle:sub-variant-h4, r=GuillaumeGomez
rustdoc: remove no-op CSS `h3.variant, .sub-variant h4 { border-bottom: none }` This rule, added in69df43b041
to override the default `h4` style, has been obsoleted whena65c98fefb
changed it so that only the top docblock put `border-bottom` on `h4.`
This commit is contained in:
commit
5dd4584d2e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user