Make docs.rs UI left-aligned instead of centered
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 232
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 60
Description
rustdoc's UI is left-aligned, including rustdoc displayed within docs.rs:

But if you visit a non-rustdoc page in docs.rs, for instance the crate page, the UI is centered:

In general I favor a centered UI, but I think for our use case the more important principle is consistency, so we should make the non-rustdoc pages left-aligned.
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
Compare the rustdoc UI with the non-rustdoc crate page at docs.rs/crate/brotli/latest, using the linked screenshots as the visual reference. Locate the styling entry point for non-rustdoc pages and make their layout left-aligned consistently with rustdoc, then verify both page types visually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100