-
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