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: help widget oversized on mobile and can't scroll #77899
Comments
Appears to be a rustdoc issue, I can reproduce on https://doc.rust-lang.org/nightly/std/ |
Ah right, it wasn't possible before we added the button to have this popup. Maybe we should hide it when we're on mobile? |
#77979 is just a quick fix for now: we're still debating about whether or not we want to display this help popup and if so, how. |
…jyn514 Hide help button on mobile Addresses rust-lang#77899. This PR is just a quick fix for now: we're still debating about whether or not we want to display this help popup and if so, how. I'll open an issue once this PR is merged to discuss about it. Before: ![Screenshot from 2020-10-15 17-56-39](https://user-images.githubusercontent.com/3050060/96155127-df499680-0f0f-11eb-8a13-77c537141f21.png) After: ![Screenshot from 2020-10-15 17-55-06](https://user-images.githubusercontent.com/3050060/96154957-ac070780-0f0f-11eb-9d90-7d8f79a6bf37.png) r? @jyn514
I propose to close this and consider #77979 the long-term fix. I think hiding the help button on mobile is the right thing to do. |
But that prevents to have access to the search help too, which is why I'm not super happy about it... |
Aha, that makes sense. |
Steps to reproduce:
Expected result: Help dialog pops up
Actual result: Help dialog pops up, but is too big for the screen and not scrollable (see screenshot).
Note also that the keyboard shortcut section can probably be elided on mobile since there is usually no keyboard (though there can be!).
The text was updated successfully, but these errors were encountered: