rustdoc: add missing margin to no-docblock methods

Fixes another regression caused by 8846c0853d,
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
This commit is contained in:
Michael Howell 2022-09-30 09:42:07 -07:00
parent f914b82a75
commit 8728e17855

View File

@ -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;
}