From 2970479412783b39aab3792525cb926a609a2d3c Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Mon, 31 May 2021 23:18:53 +0800 Subject: [PATCH] Fix details rustdoc toggle for blanket impl In the meantime, allow all of the details to have the same top. --- src/librustdoc/html/static/rustdoc.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index f3866e211d9..2623ff27a25 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -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; }