Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix details rustdoc toggle for blanket impl #85860

Merged
merged 1 commit into from
Jun 1, 2021
Merged

Conversation

pickfire
Copy link
Contributor

In the meantime, allow all of the details to have the same top.

Before

image
image

After

image
image

I stumbled across this while wanting to do a details button for the layout.

In the meantime, allow all of the details to have the same top.
@rust-highfive
Copy link
Collaborator

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez

@rust-highfive
Copy link
Collaborator

r? @ollie27

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 31, 2021
@GuillaumeGomez
Copy link
Member

I can't find any difference between the screenshots. Could you describe what this fix is doing please?

@pickfire
Copy link
Contributor Author

pickfire commented May 31, 2021

@GuillaumeGomez Sorry I didn't describe it clearly. Look at the [+] on the left, it's not aligned to the text.

@GuillaumeGomez
Copy link
Member

Oh I see. Do you have a screenshot when an item has an attribute too please?

@pickfire
Copy link
Contributor Author

I thought it is quite obvious though. I think you should play more https://cantunsee.space/

@pickfire
Copy link
Contributor Author

pickfire commented May 31, 2021

It should be the same, that path is taken care by the general css if it was already there. (lazy to do the screenshot since it should be the same, I am tweaking the css in browser T_T)

@GuillaumeGomez
Copy link
Member

Checked locally and it works as expected, thanks!

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented May 31, 2021

📌 Commit 2970479 has been approved by GuillaumeGomez

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 31, 2021
@pickfire
Copy link
Contributor Author

Checked locally and it works as expected, thanks!

Just wondering, how you tried it out locally?

@GuillaumeGomez
Copy link
Member

I updated the two lines of CSS in my browser. :)

bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 1, 2021
…laumeGomez

Rollup of 4 pull requests

Successful merges:

 - rust-lang#85473 (fix split-debuginfo error message)
 - rust-lang#85622 (Remove toggle for "undocumented items.")
 - rust-lang#85826 (Mention "null pointer optimization" in option docs.)
 - rust-lang#85860 (Fix details rustdoc toggle for blanket impl)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 82b84bf into rust-lang:master Jun 1, 2021
@rustbot rustbot added this to the 1.54.0 milestone Jun 1, 2021
@pickfire pickfire deleted the patch-5 branch June 2, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants