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

[rustdoc] Change impl items indent #131718

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez commented Oct 14, 2024

Fixes #131704.

before after
image image

Can be tested here.

r? @notriddle

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Oct 14, 2024
@rustbot
Copy link
Collaborator

rustbot commented Oct 14, 2024

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez, @jsha

@GuillaumeGomez GuillaumeGomez changed the title Impl items indent [rustdoc] Change impl items indent Oct 14, 2024
@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez
Copy link
Member Author

Fixed tidy issue.

@rust-log-analyzer

This comment has been minimized.

@notriddle

This comment was marked as duplicate.

@rfcbot

This comment was marked as duplicate.

@notriddle notriddle added T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. and removed T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Oct 15, 2024
@notriddle

This comment was marked as duplicate.

@rfcbot

This comment was marked as duplicate.

@notriddle
Copy link
Contributor

notriddle commented Oct 15, 2024

@rfcbot poll User visible ui change

@rfcbot
Copy link

rfcbot commented Oct 15, 2024

Team member @notriddle has asked teams: T-rustdoc-frontend, for consensus on:

User visible ui change

@bors
Copy link
Contributor

bors commented Oct 24, 2024

☔ The latest upstream changes (presumably #132099) made this pull request unmergeable. Please resolve the merge conflicts.

@GuillaumeGomez
Copy link
Member Author

Fixed merge conflict and fixed GUI test.

@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez
Copy link
Member Author

Note for future self: run ALL tests after making changes.

CI passed! \o/

@camelid
Copy link
Member

camelid commented Nov 13, 2024

Looks good, except that there's still a tiny bit of indent that makes it look weird IMO:

image

We should have the text aligned with the impl keyword, no?

@GuillaumeGomez
Copy link
Member Author

Good point! Gonna change that.

@GuillaumeGomez
Copy link
Member Author

Applied suggestion. Updated the image and the demo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Projects
None yet
7 participants