about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-15 13:29:53 +0200
committerGitHub <noreply@github.com>2021-05-15 13:29:53 +0200
commit5bfbabc892c521cc0bf5dd824171ce29eae9da8d (patch)
tree902dbad7a4dd8a5ba83ec1f1066dddb02d0c938e
parent36b3c284977ed73bcf39affb7e2b7f75ffeeb4d5 (diff)
parent812994e40d3429d0566489e00578f39bf9f8d6b2 (diff)
downloadrust-5bfbabc892c521cc0bf5dd824171ce29eae9da8d.tar.gz
rust-5bfbabc892c521cc0bf5dd824171ce29eae9da8d.zip
Rollup merge of #85256 - GuillaumeGomez:fix-implementors-display, r=notriddle
Fix display for "implementors" section

Just saw this problem when going through docs:

![Screenshot from 2021-05-13 15-20-52](https://user-images.githubusercontent.com/3050060/118131978-766fc180-b3ff-11eb-86a8-7f6d22afa675.png)

This fix puts it back to normal:

![Screenshot from 2021-05-13 15-23-29](https://user-images.githubusercontent.com/3050060/118132006-7e2f6600-b3ff-11eb-9985-025a7b7c5216.png)

You can see it on the `TryFrom` page for example.

r? ```@Nemo157```
-rw-r--r--src/librustdoc/html/static/rustdoc.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 1b7eff4604f..073fc217f18 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -542,7 +542,7 @@ h4 > code, h3 > code, .invisible > code {
 	font-size: 0.8em;
 }
 
-.content .methods > div:not(.notable-traits) {
+.content .methods > div:not(.notable-traits):not(.methods) {
 	margin-left: 40px;
 	margin-bottom: 15px;
 }