Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️(front) improve table pdf rendering #639

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

NathanVss
Copy link

Purpose

The previous way of rendering table was causing issues when tables could not fit on one page. I then came accross this discussion diegomura/react-pdf#2343. The author created a lib to improve the rendering of table, it's better, but still not perfect maybe.

Improving PDF is quite cumbersome, so I encourage you to test on your side to see if the rendering is correct. Otherwise we'll need to put more effort into this by going deep in the implementation, not sure we want to put that much of energy in it. Let's try this lib before :)

Proposal

The Doc

Capture d’écran 2025-02-14 à 15 32 46

Before

Capture d’écran 2025-02-14 à 15 32 22

After

Capture d’écran 2025-02-14 à 15 33 05

@NathanVss NathanVss force-pushed the fix/pdf-render branch 2 times, most recently from 073e69d to 65a3137 Compare February 14, 2025 14:54
The previous way of rendering table was causing issues when tables
could not fit on one page. I then came accross this discussion
diegomura/react-pdf#2343. The author
created a lib to improve the rendering of table, it's better, but
still not perfect maybe.
@arnaud-robin
Copy link
Collaborator

Wow, this is cool !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants