Fix details rustdoc toggle for blanket impl

In the meantime, allow all of the details to have the same top.
This commit is contained in:
Ivan Tham 2021-05-31 23:18:53 +08:00 committed by GitHub
parent 91ddf3e76a
commit 2970479412
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1468,13 +1468,12 @@ details.rustdoc-toggle > summary.hideme::before {
details.rustdoc-toggle > summary:not(.hideme)::before {
position: absolute;
left: -23px;
top: initial;
top: 3px;
}
.impl-items > details.rustdoc-toggle > summary:not(.hideme)::before,
.undocumented > details.rustdoc-toggle > summary:not(.hideme)::before {
position: absolute;
top: 3px;
left: -2px;
}