-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Allow source link to wrap onto next line #93537
Conversation
Some changes occurred in HTML/CSS/JS. |
a951517
to
f143178
Compare
Looks good to me. Can you add a GUI test for mobile to ensure that the |
☔ The latest upstream changes (presumably #93655) made this pull request unmergeable. Please resolve the merge conflicts. |
f143178
to
a4c95c5
Compare
This comment has been minimized.
This comment has been minimized.
a4c95c5
to
6276025
Compare
☔ The latest upstream changes (presumably #93689) made this pull request unmergeable. Please resolve the merge conflicts. |
6276025
to
fb5b091
Compare
This comment has been minimized.
This comment has been minimized.
fb5b091
to
04eee9e
Compare
Removed one of the cases in toggle-click-deadspace.goml that tries to click the |
☔ The latest upstream changes (presumably #93795) made this pull request unmergeable. Please resolve the merge conflicts. |
04eee9e
to
609bde7
Compare
609bde7
to
d7abf04
Compare
☔ The latest upstream changes (presumably #95990) made this pull request unmergeable. Please resolve the merge conflicts. |
This comment has been minimized.
This comment has been minimized.
Like the out-of-band information at the top of the page, this uses flex-wrap: wrap to allow `source` to move to the next line when space is tight. Also, on mobile layouts move it to the next line always, for a more consistent interface. This allows more of the method signature to be displayed on a single line, and avoids confusing `source` with one of the items in the method signature. Also tweak the padding on summary items slightly so they line up properly with their docblock.
The job Click to see the possible cause of the failure (guessed by this bot)
|
☔ The latest upstream changes (presumably #99014) made this pull request unmergeable. Please resolve the merge conflicts. |
@jsha FYI: when a PR is ready for review, send a message containing |
Closing this pr as inactive. |
Like the out-of-band information at the top of the page, this uses flex-wrap: wrap to allow
source
to move to the next line when space is tight. Also, on mobile layouts move it to the next line always, for a more consistent interface.This allows more of the method signature to be displayed on a single line, and avoids confusing
source
with one of the items in the method signature.Also tweak the padding on summary items slightly so they line up properly with their docblock.
Remove one of the cases in toggle-click-deadspace.goml that tries to click the
[-]
toggle. It was only "working" by happenstance before, since we don't have a good way to click CSS-generated items in browser-UI-test. And that case is not the core of what's being tested in that file.Demo: https://rustdoc.crud.net/jsha/wrap-source-link/std/string/struct.String.html
r? @GuillaumeGomez
Fixes #93477