Bullet list in tables not indented correctly in PDF export

Matthew Furry
Contributor
July 23, 2024

On the page the bulleted list appears correctly when placed in a table

 

image.png

 

When exported to PDF it looks like the indent is negative and moves into the column to the left: 

image.png

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;
}

 

3 answers

2 accepted

2 votes
Answer accepted
Anna-Lisa de Oliveira Löhrer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2024

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.

Matthew Furry
Contributor
July 25, 2024

Brilliant, thanks!  That does clean up the tables quite a bit:
image.png

1 vote
Answer accepted
Matthew Furry
Contributor
July 24, 2024
0 votes
Dan Breyen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 24, 2024

@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

Matthew Furry
Contributor
July 24, 2024

Thanks, those appear un-related.  My issue is basic alignment and a bug in the PDF export.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events