Active
Project:
Facet API
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2017 at 02:31 UTC
Updated:
27 Jun 2017 at 02:33 UTC
Jump to comment: Most recent
facetapi_facet_display_form() uses floats with 30% width to split form elements across 3 columns.
As a result, the order of elements is kinda random.
And other modules like facetapi_pretty_paths or facetapi_alias have problems placing their own form elements.
See e.g. #2629206: Title and field in admin UI for Pretty path alias are apart
Ideas:
- Using actual CSS columns with column-count: 3.
- Wrapping the elements of each column in a container, and then floating this container, instead of each item separately.
Note that form elements can be nested without changing the name of each element, by setting the #parents explicitly, e.g. '#parents' => array('global').
Comments
Comment #2
donquixote commentedOh, and sorry for the negative choice of words ("clumsy").