xwikisas / xwiki-pro-macros

XWiki rendering macros useful when migrating content from Confluence
GNU Lesser General Public License v2.1
3 stars 12 forks source link

Column macro adds a couple of pixels of indentation of its content compared to surrounding boxes / paragraphs #319

Open lucaa opened 2 months ago

lucaa commented 2 months ago

How to reproduce:

Expected results:

Actual result:

image

lucaa commented 2 months ago

Actually, the logic I would expect here is that columns issued from the confluence section / columns macro are drawn / decorated using the bootstrap grid / columns rules, to be coherent with any other columns made in XWiki.

While I understand that the columns macro of confluence has a fixed with while the bootstrap columns are responsive and adapt to the screen, we should at least respect the spacing / margins. Also, from a code maintenance point of view, this set of macros (layout, section, column) should not come with a reimplementation of layouting, they should reuse the layouting of XWiki as much as possible.