I've asked a similar question before, but perhaps this one is just a little different. I hope there is a good answer or workaround.
I need to use the plain text output format to gather various (numerous) items of data via table transform macros. Since this is from various, diverse sources and I need the data presented concisely, the best approach is to present it within tables. When I do so, the horizontal and vertical alignment is off and it immediately tends to look very messy!
For example, here's a simple single row example. The text is just unformatted paragraph text and the numbers are outputs from table transformer macros. It already is misaligned and looks messy, and only looks far worse as further rows and columns of similar are added.
The way I'm putting such content together is as follows:
I don't want to concatenate the label and the data. The variable data elements are typically reusable pieces, often contained as Table Excerpt elements to easily be repeated in other pages, and sometimes pivoted across columns or rows in other tables.
Is there anything clever (and easy) I can do to align plain text outputs from table transformers within table cells, both horizontally and vertically?
Hi @Green_ Desmond ,
Seems that we'll have a beautiful solution for your case in one of the next releases. I've marked your question and will keep you updated.
Hi @Green_ Desmond ,
Please update the app to the 10.4.0 version if you are on Data Center/Server and for Cloud the updates will be downloaded automatically.
After the upgrade, you'll see the new "Stylesheet" tab in the Table Transformer macro.
.table-wrap {
margin-top: 0;
margin-bottom: -10px;
}
Now your table will look neat in a published state.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's fabulous, only I can never be sure when my organisation will take that later version of the product!
Meanwhile, is there anything I can do to inline that CSS and effect the same, ideally at a page level, or at least at the table level? Maybe by editing the page HTML with some acceptable inline CSS?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You may use the standard HTML-macro if is allowed for your Confluence instance:
<style> .table-joiner .wrapper .table-wrap { margin-top: 0; margin-bottom: -10px; } </style>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.