-
Suggestion
-
Resolution: Won't Do
-
None
-
None
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
I'd love to see a small expansion to the panel macro (including similar macros like info, warning, toc, etc.) that support optional properties that incur a CSS-float behavior – floating the panel to the left or the right and specifying a specific pixel-or-percentage width (or max-width), so that the ensuing content wraps around it.
I find inserting small side-bar panel and info macros around which the main content wraps to be very useful in many documentation pages. Currently, I can usually do this by surrounding the content to be floated with a pair of HTML macros (one with something like <div style="float:right; max-width:30%"> and the other with the closing </div>), but that's a somewhat clunky workaround, especially for several cases on the same page. Having a couple of properties (float, max-width) directly on the panel/toc/info/etc. macros would be much simpler and less cluttered. (E.g., {info:float=right|max-width=30%}.)
And, no, using columns is not an acceptable workaround (no wrapping).
- relates to
-
CONFCLOUD-39564 Panel Macros Support CSS Float Behavior
- Closed
[CONFSERVER-39564] Panel Macros Support CSS Float Behavior
Workflow | Original: JAC Suggestion Workflow 4 [ 3578151 ] | New: JAC Suggestion Workflow 3 [ 4341162 ] |
Workflow | Original: JAC Suggestion Workflow 2 [ 3171883 ] | New: JAC Suggestion Workflow 4 [ 3578151 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Suggestion Workflow [ 3033112 ] | New: JAC Suggestion Workflow 2 [ 3171883 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2528521 ] | New: JAC Suggestion Workflow [ 3033112 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 2280301 ] | New: Confluence Workflow - Public Facing v4 [ 2528521 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 - TEMP [ 2165390 ] | New: Confluence Workflow - Public Facing v3 [ 2280301 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 1946798 ] | New: Confluence Workflow - Public Facing v3 - TEMP [ 2165390 ] |
Workflow | Original: Confluence Workflow - Public Facing v2 [ 1750294 ] | New: Confluence Workflow - Public Facing v3 [ 1946798 ] |
Description |
Original:
I'd love to see a small expansion to the panel macro (including similar macros like info, warning, toc, etc.) that support optional properties that incur a CSS-float behavior -- floating the panel to the left or the right and specifying a specific pixel-or-percentage width (or max-width), so that the ensuing content wraps around it.
I find inserting small side-bar panel and info macros around which the main content wraps to be very useful in many documentation pages. Currently, I can usually do this by surrounding the content to be floated with a pair of HTML macros (one with something like <div style="float:right; max-width:30%"> and the other with the closing </div>), but that's a somewhat clunky workaround, especially for several cases on the same page. Having a couple of properties (float, max-width) directly on the panel/toc/info/etc. macros would be much simpler and less cluttered. (E.g., \{info:float=right|max-width=30%\}.) And, no, using columns is not an acceptable workaround (no wrapping). |
New:
{panel:bgColor=#e7f4fa} *NOTE:* This suggestion is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/CONFCLOUD-39564]. {panel} I'd love to see a small expansion to the panel macro (including similar macros like info, warning, toc, etc.) that support optional properties that incur a CSS-float behavior -- floating the panel to the left or the right and specifying a specific pixel-or-percentage width (or max-width), so that the ensuing content wraps around it. I find inserting small side-bar panel and info macros around which the main content wraps to be very useful in many documentation pages. Currently, I can usually do this by surrounding the content to be floated with a pair of HTML macros (one with something like <div style="float:right; max-width:30%"> and the other with the closing </div>), but that's a somewhat clunky workaround, especially for several cases on the same page. Having a couple of properties (float, max-width) directly on the panel/toc/info/etc. macros would be much simpler and less cluttered. (E.g., \{info:float=right|max-width=30%\}.) And, no, using columns is not an acceptable workaround (no wrapping). |
Link |
New:
This issue relates to |