Remove max-width from field description
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3391596. --> Reported by: [hudri](https://www.drupal.org/user/3513676) Related to !314 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>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.</p> <p>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.</p> <p>Prominent example below: Media image upload field, has 3 hints, but the first hint is weirdly broken into 2 separate lines</p> <p><img src="https://www.drupal.org/files/issues/2023-10-04/gin_description_maxwidth.png" alt="description max width causes weird line breaks"></p> <p>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 &lt;br&gt; tag into the description on the field UI.</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>Completely remove the max-width.</p>
issue