Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン 初心者向け
#49 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
css, typescript

調査の方向性

apps/web/src/components/dock.ts と apps/web/src/styles/game.css を読んで、ツールバーのラベルとサイズがどのように定義されているかを確認してください。apps/web/src/i18n.ts でドイツ語と英語のラベルを確認してください。次に、320 px のビューポートに対するアサーションを apps/web/e2e/play.spec.ts に追加し、apps/web/test/styles.test.ts とともに実行してください。両言語で 320 px のときにすべてのツールバーラベルがボタンに収まり、タップ領域が現在のサイズを保てば完了です。

索引モデルが issue の本文から書いたものです。

説明

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)
主要言語
TypeScript
スター
0
フォーク
0
平均マージ
28分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nullthrone/lexvm のほかの issue

nullthrone/lexvm の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。