about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-04-24 12:06:55 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-04-24 12:33:29 +0200
commit7a895bd87a4d3a2229ae3c3b5e725f5dbecc1c13 (patch)
tree5d91101a4da859d647a81f2b3af2d41129ec0302
parent1feccc1edfbd799bffcb82b3c639cc28531efe5a (diff)
downloadrust-7a895bd87a4d3a2229ae3c3b5e725f5dbecc1c13.tar.gz
rust-7a895bd87a4d3a2229ae3c3b5e725f5dbecc1c13.zip
Fix indent of impl docs
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index a6dd06b76ea..19ac24a5d6e 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -2319,7 +2319,10 @@ details.toggle > summary:not(.hideme)::before {
 	doc block while aligning it with the impl block items. */
 .implementors-toggle > .docblock,
 /* We indent trait items as well. */
-#main-content > .methods > :not(.item-info) {
+#main-content > .methods > :not(.item-info),
+.impl > .item-info,
+.impl > .docblock,
+.impl + .docblock {
 	margin-left: var(--impl-items-indent);
 }