From f145f283f737d766404f39b26dd773eadc98e344 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Fri, 30 Sep 2022 10:15:59 -0700 Subject: rustdoc: add missing margin to no-docblock trait items 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 at https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/clean/types/trait.AttributesExt.html --- src/librustdoc/html/static/css/rustdoc.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/librustdoc/html/static/css/rustdoc.css') diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 37c95f6c784..8ffd092426d 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -2010,7 +2010,8 @@ in storage.js plus the media query with (min-width: 701px) .impl, #implementors-list > .docblock, .impl-items > section, - { +.methods > section +{ margin-bottom: 0.75em; } -- cgit 1.4.1-3-g733a5