Opened 2 years ago

Last modified 22 months ago

#34095 closed Bug

Form controls in admin should use heights in relative units — at Initial Version

Reported by: Thibaud Colas Owned by: nobody
Component: contrib.admin Version: 4.1
Severity: Normal Keywords: accessibility
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: yes

Description

There are a lot of form controls in the admin that use hard-coded heights in pixels. This is problematic for users which change the font size, as the text then overflows / the UI looks broken.

Here are three in particular that fit neatly in a screenshot:

  • The search field’s input height
  • The actions’ select
  • The "Go" button

In all three cases, the fix is as simple as converting the height from pixels to rem (divide by 16).

Change History (1)

by Thibaud Colas, 2 years ago

Note: See TracTickets for help on using tickets.
Back to Top