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

Abierto
#3,650 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
58/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
css, html, rust
Área
frontend, web-dev

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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/

Lenguaje dominante
Rust
Estrellas
1.2k
Forks
235
Merge medio
11 h 56 min
PR fusionados (30 d)
78

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de rust-lang/docs.rs

Todos los issues de rust-lang/docs.rs

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.