Skip to content

Commit 1676a9a

Browse files
committed
rustdoc: remove no-op CSS .source .content { margin-left: 0 }
This rule originated in 7669f04, to override the default, massive left margin that content used to accommodate the sidebar: https://github.com/rust-lang/rust/blob/7669f04fb0ddc3d71a1fb44dc1c5c00a6564ae99/src/librustdoc/html/static/main.css#L307-L309 This massive left margin doesn't exist any more. It was replaced with a flexbox-based sidebar layout in 135281e.
1 parent 54f20bb commit 1676a9a

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
@@ -348,7 +348,6 @@ img {
348348
.source .content {
349349
max-width: none;
350350
overflow: visible;
351-
margin-left: 0px;
352351
}
353352

354353
.sub-container {

0 commit comments

Comments
 (0)