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 overflowing text on mobile when sidebar is displayed #81630

Merged
merged 1 commit into from
Feb 2, 2021

Conversation

GuillaumeGomez
Copy link
Member

Fixes #81597.

Before:

Screenshot from 2021-02-01 17-21-15

After:

Screenshot from 2021-02-01 17-20-59

cc @pickfire
r? @Nemo157

@rust-highfive
Copy link
Collaborator

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 1, 2021
@pickfire
Copy link
Contributor

pickfire commented Feb 1, 2021

What if you scrolled below with sidebar off and sidebar on with and without the patch?

@GuillaumeGomez
Copy link
Member Author

Didn't understand what you meant.

Copy link
Contributor

@pickfire pickfire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the image, looks good to me. But I wonder what happens if the user scrolled below a bit?

@GuillaumeGomez
Copy link
Member Author

GuillaumeGomez commented Feb 1, 2021

I still don't understand what you mean. :-/ To be perfectly clear about this, the CSS changes I added are only applied when you click on the hamburger menu to display the sidebar.

@pickfire
Copy link
Contributor

pickfire commented Feb 2, 2021

I mean, scroll the page down a bit and try again.

Press on screen, drag your finger up, release finger, finger press on hamburger button.

@GuillaumeGomez
Copy link
Member Author

No issue either? Wll, moving forward then. Thanks for the review!

@bors: r=pickfire rollup

@bors
Copy link
Contributor

bors commented Feb 2, 2021

📌 Commit 899b0dd has been approved by pickfire

@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 Feb 2, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 2, 2021
…as-schievink

Rollup of 11 pull requests

Successful merges:

 - rust-lang#80629 (Add lint for 2229 migrations)
 - rust-lang#81022 (Add Frames Iterator for Backtrace)
 - rust-lang#81481 (move some tests)
 - rust-lang#81485 (Add some tests for associated-type-bounds issues)
 - rust-lang#81492 (rustdoc: Note why `rustdoc::html::markdown` is public)
 - rust-lang#81577 (const_evaluatable: consider sub-expressions to be evaluatable)
 - rust-lang#81599 (Implement `TrustedLen` for `Fuse<I: TrustedLen>`)
 - rust-lang#81608 (Improve handling of spans around macro result parse errors)
 - rust-lang#81609 (Remove the remains of query categories)
 - rust-lang#81630 (Fix overflowing text on mobile when sidebar is displayed)
 - rust-lang#81631 (Remove unneeded `mut` variable)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d2f96a9 into rust-lang:master Feb 2, 2021
@rustbot rustbot added this to the 1.51.0 milestone Feb 2, 2021
@GuillaumeGomez GuillaumeGomez deleted the overflow-sidebar-title-text branch February 2, 2021 15:45
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.

Rustdoc title off in mobile
6 participants