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

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

Aperta
#19,928 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@brianjhanson ci sta già lavorando.

Dal 9/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
PHP
Stelle
3.6k
Fork
706
Merge medio
12h 54m
PR unite (30g)
274

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 craftcms/cms

Tutte le issue di craftcms/cms

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.