Skip to content

Commit 923d907

Browse files
authored
Rollup merge of #103940 - notriddle:notriddle/main-content-item-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.
2 parents f35dccb + c51c07d commit 923d907

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustdoc/html/static/css/rustdoc.css

-1
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,6 @@ pre, .rustdoc.source .example-wrap {
677677
}
678678

679679
#main-content > .item-info {
680-
margin-top: 0;
681680
margin-left: 0;
682681
}
683682

0 commit comments

Comments
 (0)