Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Fit the game toolbar labels on 320-pixel-wide screens

Aperta Adatta ai principianti
#49 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
82/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
css, typescript

Direzione di ricerca

Leggi apps/web/src/components/dock.ts e apps/web/src/styles/game.css per vedere come sono definite le etichette e le dimensioni della barra degli strumenti; controlla le etichette in tedesco e in inglese in apps/web/src/i18n.ts. Poi aggiungi l’asserzione per il viewport da 320 px a apps/web/e2e/play.spec.ts ed eseguila con apps/web/test/styles.test.ts. Il lavoro è completato quando tutte le etichette della barra degli strumenti entrano nei rispettivi pulsanti a 320 px in entrambe le lingue e le aree di tocco mantengono le dimensioni attuali.

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

Descrizione

area: web good first issue priority: low type: bug

Context

On 320 CSS px wide phones (for example the first-generation iPhone SE) the last toolbar label of the game screen, »Rückgängig« (Undo) in the German UI, is cut off to »Rückgän…«. The icon and the accessible name stay intact, and 390 px and wider are fine. It was found by an overflow probe during the v0.1 review; no screen scrolls sideways at 320 px.

Scope

  • Make the toolbar labels (Inventar, Notizbuch, Hinweis, Tastatur, Rückgängig; Inventory, Notebook, Hint, Keyboard, Undo) fit at 320 px in both UI languages, for example with a smaller label size below a breakpoint or a shorter German label.
  • Keep the tap targets as large as they are today.

Acceptance criteria

  • At 320 px no toolbar label is truncated, in German or English.
  • An end-to-end check at a 320 px viewport asserts that no toolbar label overflows its button.
  • apps/web/test/styles.test.ts still passes.

References

  • apps/web/src/components/dock.ts
  • apps/web/src/styles/game.css
  • apps/web/src/i18n.ts
  • apps/web/e2e/play.spec.ts
  • #25 (reflow at 320 CSS px)
Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
28m
PR unite (30g)
2

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 nullthrone/lexvm

Tutte le issue di nullthrone/lexvm

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.