Skip to content

Commit 8728e17

Browse files
committed
rustdoc: add missing margin to no-docblock methods
Fixes another regression caused by 8846c08, 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
1 parent f914b82 commit 8728e17

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustdoc/html/static/css/rustdoc.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,9 @@ in storage.js plus the media query with (min-width: 701px)
20082008
.method-toggle summary,
20092009
.implementors-toggle summary,
20102010
.impl,
2011-
#implementors-list > .docblock {
2011+
#implementors-list > .docblock,
2012+
.impl-items > section,
2013+
{
20122014
margin-bottom: 0.75em;
20132015
}
20142016

0 commit comments

Comments
 (0)