bad page layout for certain crates- left panel text goes off the top of the screen

Aperta
#3,650 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
css, html, rust
Ambito
frontend, web-dev

Direzione di ricerca

Start by reproducing the layout issue on the linked hid-types documentation page at a window size where no vertical scrollbar is needed; compare it with a size that shows a scrollbar. Then trace the left panel layout styles and related frontend entry points in the docs.rs repository. Done means the panel's top line remains visible across the affected window sizes and the layout still works when a scrollbar is present.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

On docs.rs, I notice that if the lib.rs docs don't contain very much text, then the left panel layout isn't correct for some window sizes, causing the top line of text to be partially off the top of the window. This seems to happen whenever there is no vertical scrollbar needed.

Image

I am on Ubuntu 24.04; this happens in both Firefox and Chromium for https://docs.rs/hid-types/0.2.1/hid_types/

Lingua principale
Rust
Stelle
1.2k
Fork
235
Merge medio
11h 56m
PR unite (30g)
78

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rust-lang/docs.rs

Tutte le issue di rust-lang/docs.rs

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.