Last modified by Frank Fock on 2025/04/04 21:18

From version 1.1
edited by Frank Fock
on 2025/01/26 23:11
Change comment: Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.25.5]
To version 2.1
edited by Frank Fock
on 2025/04/04 21:18
Change comment: Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.26.14]

Summary

Details

Page properties
Content
... ... @@ -43,16 +43,16 @@
43 43  
44 44  {{code}}
45 45  {{confluence_section border="true"}}
46 -{{column}}
46 +{{confluence_column}}
47 47  Content of a simple section, with border.
48 -{{/column}}
48 +{{/confluence_column}}
49 49  {{/confluence_section}}
50 50  {{/code}}
51 51  
52 52  {{confluence_section border="true"}}
53 -{{column}}
53 +{{confluence_column}}
54 54  Content of a simple section, with border.
55 -{{/column}}
55 +{{/confluence_column}}
56 56  {{/confluence_section}}
57 57  
58 58  == Section with 4 columns ==
... ... @@ -60,21 +60,21 @@
60 60  {{code}}
61 61  {{confluence_section border="true"}}
62 62  
63 -{{column width="250px"}}
63 +{{confluence_column width="250px"}}
64 64  Content in the column 1
65 -{{/column}}
65 +{{/confluence_column}}
66 66  
67 -{{column width="300px"}}
67 +{{confluence_column width="300px"}}
68 68  Content in the column 2
69 -{{/column}}
69 +{{/confluence_column}}
70 70  
71 -{{column width="300px"}}
71 +{{confluence_column width="300px"}}
72 72  Content in the column 3
73 -{{/column}}
73 +{{/confluence_column}}
74 74  
75 -{{column width="250px"}}
75 +{{confluence_column width="250px"}}
76 76  Content in the column 4
77 -{{/column}}
77 +{{/confluence_column}}
78 78  
79 79  {{/confluence_section}}
80 80  {{/code}}
... ... @@ -81,21 +81,21 @@
81 81  
82 82  {{confluence_section border="true"}}
83 83  
84 -{{column width="250px"}}
84 +{{confluence_column width="250px"}}
85 85  Content in the column 1
86 -{{/column}}
86 +{{/confluence_column}}
87 87  
88 -{{column width="300px"}}
88 +{{confluence_column width="300px"}}
89 89  Content in the column 2
90 -{{/column}}
90 +{{/confluence_column}}
91 91  
92 -{{column width="300px"}}
92 +{{confluence_column width="300px"}}
93 93  Content in the column 3
94 -{{/column}}
94 +{{/confluence_column}}
95 95  
96 -{{column width="250px"}}
96 +{{confluence_column width="250px"}}
97 97  Content in the column 4
98 -{{/column}}
98 +{{/confluence_column}}
99 99  
100 100  {{/confluence_section}}
101 101  {{/excerpt}}
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,7 +1,10 @@
1 1  .hasBorder .macro-column {
2 2   border: 1px dashed grey;
3 3  }
4 -.macro-section
4 +
5 +/* Some sections don't have any column. In this case, the content would be
6 + broken if we didn't apply flex only if columns are there. */
7 +.macro-section:has(>.macro-column)
5 5  {
6 6   display:flex;
7 7  }