Collapse the crate-details "sidebar" on mobile
Open
Nobody has claimed this yet.
A-frontend
C-enhancement
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 232
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 60
Description
Seems like we might want to collapse the crate-details "sidebar" on mobile. So that you see the start of the readme above the fold. (e.g. https://docs.rs/crate/cargo/0.46.1)
Originally posted by @Nemo157 in https://github.com/rust-lang/docs.rs/issues/962#issuecomment-673495900
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the crate-details page shown in the linked docs.rs example and trace its responsive layout. Confirm that the sidebar collapses on mobile so the beginning of the README appears above the fold; verify the behavior at mobile widths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend, mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100