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

Selects show their value smaller than the text fields on a phone

オープン
#267 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

Start with src/base.css and frontend/src/users/NewTokenScreen.tsx to locate the responsive select styling and the Expires control; the issue also names test/e2e/tests/responsive.spec.ts and the godmin bump files. Read the existing on a phone checks and compare Priority and Title at mobile and 1280px widths. Done when the mobile values both read 16px, desktop values both read 13px, and Expires uses the shared select control.

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

説明

bug help wanted

What happens

Below 600 pixels wide, every select in the admin shows its value at 13px. The text, date and time fields around it use 16px. On a task, Priority reads smaller than Title and Due date. On a contact, Channel reads smaller than Value next to it. The Language screen, the importer and the fields screen do the same.

These controls come from @wordpress/ui. Its Input raises its text to 16px below 600px, to stop iOS Safari zooming into the field. SelectControl draws its trigger inside InputLayout, which stays at 13px, and nothing raises it. The trigger is a <button>, so iOS does not zoom on it. The problem is the mismatch.

One select does zoom. The Expires list on /users/tokens/new is a bare <select> with no style, so it keeps the browser default of about 13px. iOS Safari zooms the page when it is tapped.

WordPress draws every control at 16px on a phone. SelectControl in @wordpress/components uses 16px below 600px, and wp-admin/css/forms.css sets 16px on selects below 782px.

What should happen

Below 600px, a select shows its value at 16px, like the fields around it. At 600px and wider nothing changes. The Expires list becomes a SelectControl, like every other select in the admin.

@wordpress/ui hashes its class names, so the rule targets button[role="combobox"]. A new check in the on a phone block of test/e2e/tests/responsive.spec.ts opens a task and reads the computed font size of Priority and Title. Both are 16px. A second check at 1280px reads 13px for both.

Where

  • godmin src/base.css, a new @media (max-width: 599px) rule, so every admin built on godmin gets it, then the godmin bump in frontend/package.json and sdk/frontend/package.json
  • frontend/src/users/NewTokenScreen.tsx, the Expires <select>
  • @wordpress/ui src/form/primitives/input/style.module.css, the 16px rule to match
  • test/e2e/tests/responsive.spec.ts, the new checks
主要言語
Go
スター
287
フォーク
64
平均マージ
13時間 24分
マージ済み PR(30日)
60

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

gopherium/AlphOne のほかの issue

gopherium/AlphOne の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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