- Issue created by @ifrik
- Merge request !12124Resolve 3519949: Link field description squashes the field. โ (Open) created by Unnamed author
- ๐ฎ๐ณIndia sd9121
I have addressed this issue and tested related pages to ensure there are no regressions.
Please review the changes and share any feedback.
Thanks! - ๐ฎ๐ณIndia Tirupati_Singh
Hi @sd9121, I followed the steps to reproduce the issue and can confirm that it still persists. When adding a link field, the URL field gets squished due to the description taking up too much horizontal space. This is also affecting the layout of fields for the link title and text.
I applied the MR provided as a patch, and it applied without any errors. After applying the patch, the URL field's description was moved below the URL, which resolves the design issue and prevents it from breaking the layout.
For reference, Iโve attached screenshots showing the issue before and after the fix.
However, in the latest version of Drupal 11, this issue doesnโt occur, since the CSS rule
td > .form-item { display: flex; }
has been removed from tables.css. In Drupal 11, the .form-item now renders as a block element, which resolves the issue naturally.Moving the status to RTBC as the changes are working fine and will fix the issue for older versions as well.
Thanks!