Skip to content

Commit 2970479

Browse files
authored
Fix details rustdoc toggle for blanket impl
In the meantime, allow all of the details to have the same top.
1 parent 91ddf3e commit 2970479

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustdoc/html/static/rustdoc.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -1468,13 +1468,12 @@ details.rustdoc-toggle > summary.hideme::before {
14681468
details.rustdoc-toggle > summary:not(.hideme)::before {
14691469
position: absolute;
14701470
left: -23px;
1471-
top: initial;
1471+
top: 3px;
14721472
}
14731473

14741474
.impl-items > details.rustdoc-toggle > summary:not(.hideme)::before,
14751475
.undocumented > details.rustdoc-toggle > summary:not(.hideme)::before {
14761476
position: absolute;
1477-
top: 3px;
14781477
left: -2px;
14791478
}
14801479

0 commit comments

Comments
 (0)