Skip to content

Commit 7a895bd

Browse files
Fix indent of impl docs
1 parent 1feccc1 commit 7a895bd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

+4-1
Original file line numberDiff line numberDiff line change
@@ -2319,7 +2319,10 @@ details.toggle > summary:not(.hideme)::before {
23192319
doc block while aligning it with the impl block items. */
23202320
.implementors-toggle > .docblock,
23212321
/* We indent trait items as well. */
2322-
#main-content > .methods > :not(.item-info) {
2322+
#main-content > .methods > :not(.item-info),
2323+
.impl > .item-info,
2324+
.impl > .docblock,
2325+
.impl + .docblock {
23232326
margin-left: var(--impl-items-indent);
23242327
}
23252328

0 commit comments

Comments
 (0)