diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-24 12:06:55 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-24 12:33:29 +0200 |
| commit | 7a895bd87a4d3a2229ae3c3b5e725f5dbecc1c13 (patch) | |
| tree | 5d91101a4da859d647a81f2b3af2d41129ec0302 | |
| parent | 1feccc1edfbd799bffcb82b3c639cc28531efe5a (diff) | |
| download | rust-7a895bd87a4d3a2229ae3c3b5e725f5dbecc1c13.tar.gz rust-7a895bd87a4d3a2229ae3c3b5e725f5dbecc1c13.zip | |
Fix indent of impl docs
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 5 |
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); } |
