The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Inline Tasklist and table CSS formatting

playerium-solomon
March 22, 2019

I have a table with the last column filled with the task list check box and everytime I try to export to PDF the alignment becomes misaligned quite a bit. I've attached a screenshot.

I've tried updating the PDFLayout CSS, also looked around the forum and community but still didnt find anything that solved my problem.

I dont know much CSS so I am hoping some one can help provide me with the lines of CSS needed?

What I currently have;

@pagetTeng
{
/*The A4 paper size is 210 mm wide by 297 mm long*/
size: 210mm 297mm;
margin: 15mm;
}
table.fixedTableLayout {
table-layout: auto !important;
width: auto !important;
}
inline-task-list {
text-align: right;
margin-left: auto !important; ;
padding-left: auto !important; ;
}

brave_2019-03-22_17-50-11.jpg

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 26, 2019

Hello Solomon!

I have tried to replicate this issue locally without success. I am using Confluence 6.14.2. Having said this, can I ask you a few questions?

  1. Which version of Confluence are you running?
  2. Is this present in any table with tasks in it?
  3. Is your table fixed width or responsive?
  4. Does this happen without CSS customization?
  5. Where exactly did you apply the CSS? Can you send us a screenshot?

These details may help us understand how this result was achieved and then try to fix it!

Looking forward to your reply Solomon.

playerium-solomon
March 26, 2019

Hi Diego, 

Thanks for getting back to me with this. Let me try to answer your questions;

 

  1. Which version of Confluence are you running?
    1. 6.12.1
  2. Is this present in any table with tasks in it?
    1. Yep in all tables
  3. Is your table fixed width or responsive?
    1. Fixed Width
  4. Does this happen without CSS customization?
    1. Yes
  5. Where exactly did you apply the CSS? Can you send us a screenshot?
    1. Applied in General Configuration/Global PDF Stylesheet. I attached a screenshot per request.

brave_2019-03-27_14-11-45.jpg

Let me know if you need anything else.

playerium-solomon
May 18, 2019

Hi Diego, Any updates on this?

playerium-solomon
May 18, 2019

With Further Digging I found an answer to my issue. For those interested head to;

https://community.atlassian.com/t5/Confluence-questions/Format-Tables-that-are-Exported-to-PDF/qaq-p/209101

and use the following in your "Global PDF Stylesheet;

table
{
table-layout:auto !important;
width: auto !important;
}

TAGS
AUG Leaders

Atlassian Community Events