Remove max-width from field description

Created on 4 October 2023, 9 months ago
Updated 13 October 2023, 9 months ago

Problem/Motivation

Gin admin theme currently limits the max-width of the description of a field (the small text below the input field) to a max-width of 520px. This leads to unwanted line breaks.

Limiting characters in a line is usually a good thing for long editorial text. But I don't think that it is suitable for help texts. Instead of increasing the readability, it often causes more confusion due inappropriate line breaks.

Prominent example below: Media image upload field, has 3 hints, but the first hint is weirdly broken into 2 separate lines

I've a couple of issues like this in my projects. Help texts are created by site admins as help text for editors. If a line break really helps with readability, a site admin usually knows HTML good enough to manually insert a <br> tag into the description on the field UI.

User interface changes

Completely remove the max-width.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

User interface

Created by

πŸ‡¦πŸ‡ΉAustria hudri Austria

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024