react-pdf-html icon indicating copy to clipboard operation
react-pdf-html copied to clipboard

Table th colume is breaking, not responsive.

Open SergiiMarkin opened this issue 4 years ago • 3 comments

Hi @danomatic

image

As you can see from the above image, table is broken.

But I am expecting table look like this. image

Can you please support this?

SergiiMarkin avatar Oct 04 '21 02:10 SergiiMarkin

I actually don’t think I can. The table implementation uses the flex layout provided by react-pdf. I’m not yet sure how to implement a full table implementation.

danomatic avatar Oct 04 '21 02:10 danomatic

I actually don’t think I can. The table implementation uses the flex layout provided by react-pdf. I’m not yet sure how to implement a full table implementation.

Oh that's why col/rowSpan doesn't work :( Also table's maxWidth is a width, but width itself doesn't work.

antonmorya avatar Oct 26 '21 09:10 antonmorya

Yeah I'm interested in getting creative to see how far we can go using the flex layouts. Or if someone has a good strategy for doing an actual table layout implementation I'm open to working on it with them. I just don't have the time and knowledge to take it on by myself right now.

danomatic avatar Oct 28 '21 18:10 danomatic