The new field layout utility classes from PR #32422 don't work when inside the form-grid (which defines display:grid) a control-group div is present.
Edit the templateDetails.xml file from Cassiopeia and add e.g. class="form-select span-1-inline stack"
to the fields. Go to Template Styles and check the layout of the fields.
The fields should display horizontal like described in the PR.
The fields are still one below the other. The classes are there but the grid definition doesn't work here:
"grid-column has no effect on this element because it is not a grid element.
Try adding display:grid or display:inline-grid to the parent element. "
@ciar4n can you have a look here? Thanks
Labels |
Added:
J4 Issue
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-02-21 23:23:32 |
Closed_By | ⇒ | ciar4n |
It looks likes I shouldn't have reverted removing the extra attribute (#32422 (comment)). Because the class attribute does not add the class to the containing div, it is not suitable for these utilities.
I'll create a PR to fix. Originally I call the attribute
display=" ... "
.. I assume this name is ok?