jsreport / jsreport-dotnet-aspnetcore

Asp.net core and MVC support for jsreport c# sdk
MIT License
11 stars 8 forks source link

Empty Page at the end of pdf #16

Open k0steash opened 3 years ago

k0steash commented 3 years ago

Hi Guys, for now thanks for such a great nuget. I always get a empty page at the end of pdf. For example, 2 page with context and 1 empty page Can i this remove ? or what might be the problem ?

Thanks in advance, Konsti

pofider commented 3 years ago

Likely some html/css can be a cause. Could you take the whole html/css and put it to playground here? Do you get the same result? Can you share the link here?

k0steash commented 3 years ago

here's the code I'm saving

k0steash commented 3 years ago

so, you were right. With grid-template-rows: auto auto auto working fine. But i need grid-template-rows: minmax(0, .05fr) minmax(0, .9fr) minmax(0, .05fr), because i have custom header and footer. Are there any ideas ?

pofider commented 3 years ago

Hm, unfortunately, I don't know, I'm not very good with styling and flex. Maybe you can try it without flex.

k0steash commented 3 years ago

Hi @pofider , Can it be that vh and vm don't work for font-size ?