Export to PDF - Table width issues #5224

Closed
opened 2026-02-05 09:49:40 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @samysilva on GitHub (Mar 18, 2025).

Describe the Bug

Exporting to PDF is not maintaining table formatting. All cells are having the same width.

Steps to Reproduce

Simply create a table and format it as desired. Then click on (Clear table formatting or Resize to contents). Then export the document to PDF.

Expected Behaviour

It is desired that the formatting be respected

Screenshots or Additional Context

Table example

Image

After exporting to PDF

Image

Browser Details

No response

Exact BookStack Version

v25.02

Originally created by @samysilva on GitHub (Mar 18, 2025). ### Describe the Bug Exporting to PDF is not maintaining table formatting. All cells are having the same width. ### Steps to Reproduce Simply create a table and format it as desired. Then click on (Clear table formatting or Resize to contents). Then export the document to PDF. ### Expected Behaviour It is desired that the formatting be respected ### Screenshots or Additional Context Table example ![Image](https://github.com/user-attachments/assets/f1b8e697-ab27-4a21-8325-b183a3a5b00f) After exporting to PDF ![Image](https://github.com/user-attachments/assets/9b2c8150-2b4a-452c-845b-a82de47cc7fe) ### Browser Details _No response_ ### Exact BookStack Version v25.02
OVERLORD added the 🐛 Bug label 2026-02-05 09:49:40 +03:00
Author
Owner

@bjinthahouse commented on GitHub (Apr 23, 2025):

We are having the same issue with our customers' bookstack. The table is always displayed across the whole page width and table column width is distributed evenly across the complete width.
We need the same column width in the pdf export, as being displayed in bookstack

@bjinthahouse commented on GitHub (Apr 23, 2025): We are having the same issue with our customers' bookstack. The table is always displayed across the whole page width and table column width is distributed evenly across the complete width. We need the same column width in the pdf export, as being displayed in bookstack
Author
Owner

@Man-in-Black commented on GitHub (Apr 23, 2025):

I think there is already an open issue: https://github.com/BookStackApp/BookStack/issues/1280
I'm also looking forward to a possible solution to this because I have this problem on all our BookStack installations at all customers.
But I also know that it could take time to fix this.

@Man-in-Black commented on GitHub (Apr 23, 2025): I think there is already an open issue: https://github.com/BookStackApp/BookStack/issues/1280 I'm also looking forward to a possible solution to this because I have this problem on all our BookStack installations at all customers. But I also know that it could take time to fix this.
Author
Owner

@ssddanbrown commented on GitHub (May 15, 2025):

Thanks for raising @samysilva but I'm going to close this off as a duplicate of existing issue #1280.

@ssddanbrown commented on GitHub (May 15, 2025): Thanks for raising @samysilva but I'm going to close this off as a duplicate of existing issue #1280.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5224