about summary refs log tree commit diff
path: root/src/librustdoc/html/static
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-30 09:42:07 -0700
committerMichael Howell <michael@notriddle.com>2022-09-30 09:57:24 -0700
commit8728e178554eb7b0eeb4d8c2e254b07a3bccd4cb (patch)
treebf4395ef9253e85abad8bfad0932a8f1fd5603a1 /src/librustdoc/html/static
parentf914b82a754c6d85c0a909ab152f5b611defef73 (diff)
downloadrust-8728e178554eb7b0eeb4d8c2e254b07a3bccd4cb.tar.gz
rust-8728e178554eb7b0eeb4d8c2e254b07a3bccd4cb.zip
rustdoc: add missing margin to no-docblock methods
Fixes another regression caused by 8846c0853d8687fda0e5f23f6687b03b243980ee,
this time fixing the appearance of methods that have no docblock (we didn't
notice this one because libstd docs *always* have docblocks).

See how it looks without the fix at https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/clean/types/enum.Type.html#implementations
Diffstat (limited to 'src/librustdoc/html/static')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index eb5271aaf7e..37c95f6c784 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -2008,7 +2008,9 @@ in storage.js plus the media query with (min-width: 701px)
 .method-toggle summary,
 .implementors-toggle summary,
 .impl,
-#implementors-list > .docblock {
+#implementors-list > .docblock,
+.impl-items > section,
+ {
 	margin-bottom: 0.75em;
 }