Skip to content

Fix details rustdoc toggle for blanket impl - #85860

Merged
bors merged 1 commit into
rust-lang:masterfrom
pickfire:patch-5
Jun 1, 2021
Merged

Fix details rustdoc toggle for blanket impl#85860
bors merged 1 commit into
rust-lang:masterfrom
pickfire:patch-5

Conversation

@pickfire

Copy link
Copy Markdown
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
Copy Markdown
Contributor

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez

@rust-highfive

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

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

@pickfire

pickfire commented May 31, 2021

Copy link
Copy Markdown
Contributor Author

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

@GuillaumeGomez

Copy link
Copy Markdown
Member

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

@pickfire

Copy link
Copy Markdown
Contributor Author

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

@pickfire

pickfire commented May 31, 2021

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
Member

Checked locally and it works as expected, thanks!

@bors: r+ rollup

@bors

bors commented May 31, 2021

Copy link
Copy Markdown
Collaborator

📌 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
Copy Markdown
Contributor Author

Checked locally and it works as expected, thanks!

Just wondering, how you tried it out locally?

@GuillaumeGomez

Copy link
Copy Markdown
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