Docs: NavBar preview is too short for its dropdown and mobile menu
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
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- next.js, react, tailwindcss, typescript
Línea de trabajo
Empieza con src/components/docs/preview-shell.tsx y la página de documentación de NavBar que usa PreviewComponents con registryName="navbar" y fullBleed; comprueba cómo interactúan el tamaño del escenario y el desbordamiento de la tarjeta. Compara el desplegable de escritorio y el menú móvil a unos 390px y, después, revisa otras vistas previas con fullBleed para detectar regresiones. El trabajo estará terminado cuando ambos menús quepan dentro de la tarjeta y no haya desbordamiento horizontal a 390px; captura pantallas de escritorio y móvil en los modos claro y oscuro.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
The NavBar docs preview (<PreviewComponents registryName="navbar" fullBleed>) is only as tall as the bar itself. fullBleed renders the demo with no padding or minimum height (src/components/docs/preview-shell.tsx), so the language dropdown and the mobile menu have no room inside the card:
- On
main, the card clips withoverflow-hidden, so the open dropdown is cut off at the card edge. - With the clipping removed (as #44 does), the dropdown spills out of the card over the Installation section below.
Either way, the preview doesn't show the component's main interaction.
Expected
The NavBar preview stage reserves enough space for its popups: the open language menu with all demo locales, and the mobile menu at narrow widths. Both should fit inside the card.
Suggested fix
- Give the
fullBleedstage a minimum height, or letPreviewComponentsaccept aminHeight/classNamefor the stage, and set it on the NavBar page (roughlymin-h-[22rem]). - Leave the bar at the top of the stage; the empty area below is where the menus open.
- Check the other
fullBleedpreviews aren't affected.
Acceptance
- Open language dropdown fits fully inside the preview card on desktop.
- Mobile menu (~390px) fits inside the card.
- No horizontal page overflow at 390px.
- Screenshots: desktop and ~390px, light and dark.
- Lenguaje dominante
- TypeScript
- Estrellas
- 39
- Forks
- 16
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de babelize/babelize-elements
-
bug language-switcher priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
babelize/babelize-elements#26 ·
Los mantenedores suelen responder en 1 día
-
component enhancement help wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
babelize/babelize-elements#47 ·
Los mantenedores suelen responder en 1 día
-
bug component rtl-layout
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
babelize/babelize-elements#45 ·
Los mantenedores suelen responder en 1 día
-
Website: revamp and improve the landing pagePosiblemente ocupada @anjalinayak01 la tomó hace 4 días. Abiertoenhancement help wanted priority: medium website
Dificultad 4/5 Más de una semana Aptitud para principiantes 30/100
babelize/babelize-elements#37 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue priority: low website
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
babelize/babelize-elements#36 ·
Los mantenedores suelen responder en 1 día
Todos los issues de babelize/babelize-elements
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
homarr-labs/homarr#7191 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
AvaProtocol/ava-sdk-js#276 ·
Los mantenedores suelen responder en 1 día
-
useFragment does not require `variables` when the fragment's variables type has required fieldsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
apollographql/apollo-client#13493 ·
Los mantenedores suelen responder en 1 día