Skip to content

Commit

Permalink
Rollup merge of rust-lang#103940 - notriddle:notriddle/main-content-i…
Browse files Browse the repository at this point in the history
…tem-info-margin-top, r=GuillaumeGomez

rustdoc: remove no-op CSS `#main-content > .item-info { margin-top: 0 }`

When this line was added in 04b4c40, it overrode a negative `margin-top` that was set on it by default.

https://github.com/rust-lang/rust/blob/04b4c40682c01cad8f9bc8d5b3907be91d6f81d4/src/librustdoc/html/static/rustdoc.css#L500-L516

That negative top margin was removed in 593d6d1.
  • Loading branch information
matthiaskrgr authored Nov 4, 2022
2 parents f35dccb + c51c07d commit 923d907
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,6 @@ pre, .rustdoc.source .example-wrap {
}

#main-content > .item-info {
margin-top: 0;
margin-left: 0;
}

Expand Down

0 comments on commit 923d907

Please sign in to comment.