diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-09-30 23:38:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-30 23:38:27 +0200 |
| commit | 2fadfe0284370a31a453b8e90b9eb357475164f5 (patch) | |
| tree | 1c21fb853d1cdc2708b8be0980a371a354860787 /src/librustdoc/html/static/css/rustdoc.css | |
| parent | eaf1c7a0da0bb86eeaf983b8ad05ae471477bb84 (diff) | |
| parent | 8308c4bd359c4d300475055d67d5e1b0f6cd6856 (diff) | |
| download | rust-2fadfe0284370a31a453b8e90b9eb357475164f5.tar.gz rust-2fadfe0284370a31a453b8e90b9eb357475164f5.zip | |
Rollup merge of #102521 - notriddle:notriddle/impl-items-section, r=GuillaumeGomez
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 at https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/clean/types/enum.Type.html#implementations <details> # Before  # After  </details> See how it looks at https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/clean/types/trait.AttributesExt.html <details> # Before  # After  </details>
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -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 9e991cc03a0..2076c88bb02 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -2006,7 +2006,10 @@ 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, +.methods > section +{ margin-bottom: 0.75em; } |
