Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Bug] Taxonomies page: "Download template" and "Import" buttons overflow the header on narrow screens

Abierto Apto para principiantes
#831 0 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
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
75/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, react, typescript
Área
frontend

Línea de trabajo

El problema está en el componente SubHeader (src/generic/sub-header/SubHeader.tsx) y su uso en la página de Taxonomías (src/taxonomy/TaxonomyListPage.tsx). Inspecciona la ActionRow con la clase 'ml-auto flex-shrink-0 sub-header-actions' para ver cómo se desbordan los botones. Prueba la solución ajustando flex-shrink o el comportamiento de ajuste de línea en una ventana gráfica estrecha (por ejemplo, 440px). Verifica que la solución no rompa otras páginas de Studio que usen SubHeader.

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

Descripción

Status: Out of Scope

Environment
Steps to reproduce
  1. Open the Taxonomies page.
  2. Switch to a mobile viewport of 440 px or narrower.
Expected result

The page fits the viewport. The header buttons wrap to a new line or shrink, and the page does not scroll horizontally.

Actual result

The "Download template" and "Import" buttons stay on the same line as the "Taxonomies" title and extend past the right edge of the header. At a 440 px viewport, the right edge of the "Import" button is at 577 px, which makes the whole page 577 px wide and adds a horizontal scrollbar.

Image
Cause

The Taxonomies page passes its buttons to the shared SubHeader component as headerActions (src/taxonomy/TaxonomyListPage.tsx). SubHeader renders them inside <ActionRow className="ml-auto flex-shrink-0 sub-header-actions"> (src/generic/sub-header/SubHeader.tsx). Because of flex-shrink-0, the button row keeps its full width and does not wrap, so on a narrow screen it pushes out of the header instead of moving below the title.

Notes
  • This is not a regression from #663. The #663 change only touched the taxonomy card and its menu, and did not change the page header. flex-shrink-0 on the SubHeader actions has been in place since February 2024 (openedx/frontend-app-authoring#808).
  • SubHeader is shared by other Studio pages, so a fix in that component may change their headers too. A fix scoped to the Taxonomies page may be safer.
Lenguaje dominante
Python
Estrellas
10
Forks
33
Merge medio
2 d 4 h
PR fusionados (30 d)
10

Preparar el entorno

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 openedx/openedx-core

Todos los issues de openedx/openedx-core

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.