Skip to content

Commit

Permalink
Rollup merge of #85256 - GuillaumeGomez:fix-implementors-display, r=n…
Browse files Browse the repository at this point in the history
…otriddle

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```
  • Loading branch information
GuillaumeGomez committed May 15, 2021
2 parents 36b3c28 + 812994e commit 5bfbabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5bfbabc

Please sign in to comment.