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

[6.x]: Text in some input fields is clipped at the bottom on Windows

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

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

@brianjhanson がすでに取り組んでいます。

2026年10月9日 から。

評価

この issue はまだ評価されていません。

説明

bug repo:cms
What happened?
Description

In Craft 6 alpha, descenders in some text fields are slightly cropped at the bottom on Windows, where the system font is Segoe UI. In the screenshot, the “g” in “design” is cut off in the Slug field of the Info panel. The same field renders correctly with Inter.

I haven’t confirmed the cause, but it may be related to Segoe UI’s font metrics (ascent, descent and line gap) interacting with the field’s line height or height.

Steps to reproduce
  1. Open the control panel in Craft 6 alpha on Windows.
  2. Open an entry’s Info panel (or any view with a text input).
  3. Look at the bottom edge of the text in the Slug field. Descenders such as the “g” in “design” are slightly clipped.
Expected behavior

Text is fully visible, including descenders.

Actual behavior

The bottom of the text is slightly cropped.

Workaround

Switching the font to Inter fixes the clipping.

Suggestion

Whichever font ends up being used, it may be worth aiming for consistent rendering across platforms, so that layout and spacing don’t depend on the metrics of whatever system font a given OS provides. Inter is one option, and the screenshot shows it has some side benefits. Its larger x-height helps readability at small sizes and gives better optical alignment of labels next to icons or status dots (compare the “psithu” label and its dot in the two panels). But the main point is predictability, not that particular font.

Screenshot

Top: Segoe UI, with the “g” clipped. Bottom: Inter, rendering correctly.

Image
Craft CMS version

Craft Pro 6.0.0-alpha.20

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions
主要言語
PHP
スター
3.6k
フォーク
706
平均マージ
12時間 54分
マージ済み PR(30日)
274

環境構築

はじめの一歩

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

craftcms/cms のほかの issue

craftcms/cms の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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