Issue Bug Closed

#89070Positioning of FormEngine fields should be improved

Oliver Bartsch 09/03/19, 17:29 updated 06/05/24, 07:50

Description

For some scenarios the positioning of FormEngine fields (e.g. type=input) should be improved.

1. If a field is added to a TCA type without using a palette, the field doesn’t have enough space on the bottom. Thereby the charcounter runs into the border of the `form-section`.
This happens since the field doesn’t get surrounded by a `row` and doesn’t have the `col-md-*` class.

no-palette.png

2. This also happens to all fields in palettes on smaller viewports (if they have e.g. `col-md-12` on Viewports <992, `col-sm-6` on Viewports <768, `col-sm-4` on Viewports <768, …) as the appropriate styles are included in the media queries.

palette-small-viewport.png

palette-small-viewport-2.png

3. If more than one field are in a palette, not separated by a `—linebreak—` and one have a `description` while the other haven’t the display looks distorted.

palette-field-description.png

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.