Tables do not keep their Cell Width formatting when exporting to PDF #5281

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

Originally created by @Hallsie on GitHub (May 15, 2025).

Describe the Bug

Create a table with 4 columns. The first two are simple Y/N responses in the boxes so I resize to say:
10% | 10% | 30% | 50%
with the width.
When I export the PDF they just all go:
25% | 25% | 25% | 25%
which makes the format look nasty and not really usable at that point in time.

Steps to Reproduce

  1. Make a Table
  2. Resize the columns
  3. Add some dummy data
  4. Save the page
  5. Export to PDF

Expected Behaviour

I would expect that when I make changes to the table that when it is exported the table retains those changes.

Screenshots or Additional Context

I'm at work and they have removed the ability for me to take a screenshot but it's straight forward.

Browser Details

Chrome 136.0.7103.113 (although when I checked it stated updating but it should not change this behavior)

Exact BookStack Version

v25.02

Originally created by @Hallsie on GitHub (May 15, 2025). ### Describe the Bug Create a table with 4 columns. The first two are simple Y/N responses in the boxes so I resize to say: 10% | 10% | 30% | 50% with the width. When I export the PDF they just all go: 25% | 25% | 25% | 25% which makes the format look nasty and not really usable at that point in time. ### Steps to Reproduce 1. Make a Table 2. Resize the columns 3. Add some dummy data 4. Save the page 5. Export to PDF ### Expected Behaviour I would expect that when I make changes to the table that when it is exported the table retains those changes. ### Screenshots or Additional Context I'm at work and they have removed the ability for me to take a screenshot but it's straight forward. ### Browser Details Chrome 136.0.7103.113 (although when I checked it stated updating but it should not change this behavior) ### Exact BookStack Version v25.02
OVERLORD added the 🐛 Bug:cat2:🐈 Possible duplicate labels 2026-02-05 09:53:53 +03:00
Author
Owner

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

Thanks for raising @Hallsie 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 @Hallsie but I'm going to close this off as a duplicate of existing issue #1280.
Author
Owner

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

ahhh sorry I looked and didn't see that one. I guess I searched weird and that was from 6 years ago lol.

@Hallsie commented on GitHub (May 15, 2025): ahhh sorry I looked and didn't see that one. I guess I searched weird and that was from 6 years ago lol.
Author
Owner

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

No worries. Just as an alternative (which I've not tested) but using the browser's print to pdf may produce good results here.
I try to ensure the printing of pages is formatted pretty well to allow such options to be used.
The table cell resizing is something we force in PDF exports styles (since manually set column sizes cause more issues without extra processing) but I don't think those apply in the browser print view.

@ssddanbrown commented on GitHub (May 15, 2025): No worries. Just as an alternative (which I've not tested) but using the browser's print to pdf may produce good results here. I try to ensure the printing of pages is formatted pretty well to allow such options to be used. The table cell resizing is something we force in PDF exports styles (since manually set column sizes cause more issues without extra processing) but I don't think those apply in the browser print view.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5281