Iâve played a bit with both options, and it would seem that spiting the table of categories in half rather than sequentially is better for our purpose.
However, it is tricky to control where it should split.
But only when I artificially placed the categories on the left in a div (to prevent it from splitting too early, otherwise the Measure root category goes to the right column):
Is there a way to âpackâ the rows with specific category IDs into the DIV, maybe via the theme api?
What youâre asking seems tricky and may require some JS magic.
With the CSS column property, Iâm confident that the categories wonât be horizontally aligned (unless you set a fixed height) as they are with flexbox and itâs not very pretty.
I achieved what you want but itâs a bit hacky:
I used my previous CSS, then added an empty <tr> (which I believe can be done with a single JS line) and set the order property to change the order of the divs. The latter can be done via CSS only by targetting each data-category-id HTML value. Hereâs the result:
Note that would probably have to change CSS and/or JS each time youâll add or remove a category.
edit : if you need only one or two additional empty elements, you donât need to use JS to add a <tr>, you can also use a :after and/or :before like this: