Hey all,
So we use confluence for reporting on jira issues using the macro. But when no issues are found (which we want to show) and we export to PDF the query goes really small, I would really love for formatting purposes if there was a way to make this have a fixed width like you can with tables.
Does anybody know of anything like this?
I'm thinking it's in your PDF template. Are you using Scroll PDF, or the native Confluence PDF? We have Scroll PDF Exporter, and I have a Jira query that's currently "no issues found". When I use the built-in "Documentation" PDF template, the table width is full-page-width, and when I use one of our own templates, the same table is minimum width.
Hey, thanks for the response. We just use the normal PDF exporter that comes with JIRA (I think?). The query is full width when viewing it in confluence but drops down to a small as it can when exported!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I use the regular PDF export, I also get full-page-width tables. Do you have a custom stylesheet for your PDF export? (Space tools > Look and Feel > PDF stylesheet) You can add some CSS to manage the table width.
I inherited most of my CSS, and I can't tell without experimenting which of these bits affects the Jira macro, but to get you started, my guess is you want to add something like this:
table.sectionMacro>tbody>tr>td
{
width: 100%
}
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.