Navbar runs off the page between ~992 and ~1,090 px when signed in

Abierto
#2,714 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

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

Línea de trabajo

The overflow comes from the user menu inside #navbarSupportedContent (ul.navbar-nav.user-menu, #navbarDropdownUser) at the Bootstrap lg breakpoint. Start by reproducing at 1024 px with a 30-character username, then run benchmarks/tables_tab/widths.mjs to see pageOverflow. Read login/static/login/datasets_tab.css for the earlier note. The maintainers have not chosen between a wider collapse breakpoint and name truncation, so confirm the direction first. Done means no horizontal scroll at 992-1,280 px and benchmarks/homepage/compare.mjs unchanged.

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

Descripción

design/layout

What happens

On a signed-in page at a viewport just above Bootstrap's lg breakpoint (992 px), the expanded navbar is wider than the window, and the page scrolls sideways. The part that runs off is the end of #navbarSupportedContent, which holds the user menu (ul.navbar-nav.user-menu → #navbarDropdownUser).

Measured

Headless Chrome 152 at a 1024 px viewport, signed in, on the dashboard's Tables and Datasets tabs (2026-10-13, develop with #2707):

account name scrollWidth overflow
bench_p90 1,072 48 px
bench_ds_six 1,089 65 px
  • The overflow grows with the username, so a longer name runs further off.
  • The size of a page's own content made no difference: other measurements on the same tabs reported 52 and 80 px.
  • Only 1024 px was measured. At 1280 px and above, and below 992 px (where the menu collapses), nothing overflowed on these pages. So the affected range is roughly from 992 px up to about 1,090 px; the upper end depends on the name.
  • The navbar is in every shell, so this should hold for any signed-in page. Only the two dashboard tabs were measured.

Not new

login/static/login/datasets_tab.css (#2622) already noted it at 1024 px "by the site header's user name and Sign Out, on every profile tab alike", before the user menu (#2707) replaced those. The overflow was the same before and after #2711, and it is what benchmarks/tables_tab/widths.mjs reports as pageOverflow at 1024.

Likely directions (not decided)

  • Collapse the navbar at a wider breakpoint (navbar-expand-xl).
  • Or let the user menu's name truncate with an ellipsis, so the bar fits from 992 px.

The first changes when the collapsed menu shows; the second keeps the bar one row but hides part of long names.

Acceptance

  • No horizontal page scroll at 992-1,280 px on a signed-in page, with a long username (e.g. 30 characters).
  • The homepage comparison (benchmarks/homepage/compare.mjs) is unchanged, or any change is accepted explicitly.
Lenguaje dominante
Python
Estrellas
65
Forks
28
Merge medio
4 d 7 h
PR fusionados (30 d)
25

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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 OpenEnergyPlatform/oeplatform

Todos los issues de OpenEnergyPlatform/oeplatform

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.