Skip to content

Commit

Permalink
rustdoc: remove no-op CSS #main-content > .item-info { margin-top: 0 }
Browse files Browse the repository at this point in the history
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
notriddle committed Nov 3, 2022
1 parent 160b194 commit c51c07d
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 c51c07d

Please sign in to comment.