Hello,
I have a weird issue with {{container}} macro in xwiki 4.5.2.
If I want to display 3 columns, like this for example:
{{container layoutStyle="columns"}}
((( a )))
((( b )))
((( c )))
{{/container}}
It shows content over only 2 columns like this:
a b
c
... instead of expected:
a b c
After having a look at the source :
https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-4.5.2/xwiki-pla…
... I think I understand the problem.
It seems a limitation of container macro, is that it injects columns.css in
the page with number of columns as parameter. So if you add more than one
{{container}} to the same page, they can't have a different number of
columns ...
For instance in my case I used the container macro in a Panel, with 2
columns - so I can never add more than 2 columns in other locations. I
removed the columns from the Panel, and now my 3-columns are correctly
displayed :)
If you agree I could fill a Jira for this (I searched quickly, didn't find
it already described)
Thanks,
Jeremie