[Bug] : Horizontal overflow on mobile for documentation accordion component

Aperta
#2,601 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
nuxt, typescript
Ambito
frontend

Direzione di ricerca

Start by locating the documentation accordion used on the Installation or Getting Started guide and inspect its component styles alongside the page container styles. Reproduce the issue in a mobile viewport and identify which width or overflow rule lets the accordion exceed the viewport. Done means the accordion fits within the page padding without horizontal scrolling and its text remains readable.

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

Descrizione

Description

On mobile view, the documentation pages have a layout issue with the accordion/dropdown component (e.g., the "Show additional notes for an optimal setup..." element).

The component extends beyond the right edge of the screen, causing horizontal scrolling and cutting off the text inside. While the main text content wraps correctly, the container holding the accordion does not respect the viewport width on small screens.

Steps to reproduce
  1. Open any documentation page that contains this accordion (e.g., the Installation or Getting Started guide) on a mobile device or in the mobile view of DevTools.
  2. Scroll down to the "Show additional notes..." element.
  3. Observe the horizontal overflow and the truncated text on the right side.
Expected behavior

The accordion component should have a fluid width (or max-width: 100%) to fit within the padding of the page container. The text inside should wrap or be truncated with an ellipsis, and the component must not force horizontal scrolling on the page.

(See attached screenshot for reference)

Image
Contribution

I would like to work on this issue and submit a Pull Request to fix the CSS width/overflow of this accordion component. Could you please assign this to me ?

Lingua principale
TypeScript
Stelle
461
Fork
286
Merge medio
21h 7m
PR unite (30g)
107

Preparare l'ambiente

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 nuxt/nuxt.com

Tutte le issue di nuxt/nuxt.com

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.