Skip to content

rustdoc: help widget oversized on mobile and can't scroll #77899

Closed
@jsha

Description

@jsha

Steps to reproduce:

  1. Visit a documentation page on crates.io on a mobile browser (Brave 1.15.73 / Chromium 86, Android 11 on a Pixel 3).
  2. Click the "?" icon next to the search box.

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!).

Screenshot_20201012-230926

Metadata

Metadata

Assignees

Labels

A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions