On the page the bulleted list appears correctly when placed in a table
When exported to PDF it looks like the indent is negative and moves into the column to the left:
The indents get more negative instead of positive.
Is this a bug?
Can anyone suggest a work-around for the CSS for PDF export? Is this a problem with the confluencedefaultpdf.css?
.wiki-content ul { list-style-type:disc; } /* table view for several macros*/ .tableview td { border-color:#CCCCCC; border-style:solid; border-width:0 0 1px; margin:0; padding:4px 10px 4px 5px; text-align:left; }
For me, adding a padding for unordered lists helped as a workaround:
.wiki-content table ul
{
padding-left: 50px;
}
I just then also had to set a tiny padding for the ordered lists, to limit their shifting to the other side (in our CSS, we use the list-style-types decimal, lower roman and lower alpha):
.wiki-content ol, .wiki-content ol ol ol ol, .wiki-content ol ol ol ol ol ol ol, .wiki-content ol ol ol ol ol ol ol ol ol ol
{
padding-left: 1px;
}
The padding value can be adjusted as needed.
The only thing that still does not work is the different disc style for sub levels of the list.
Brilliant, thanks! That does clean up the tables quite a bit:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Identified as a bug
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Matthew Furry I think one of these are your issue: CONFCLOUD-57136 CONFCLOUD-31366
They've been closed as 'Won't Fix' due to no votes. I would confirm that with Atlassian Support and see if they can reopen them. Then we need to start gathering a bunch of votes. Please post the results. If they reopen them, I'll vote for them too.
Hope that helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, those appear un-related. My issue is basic alignment and a bug in the PDF export.
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.