Python PDFkit; PDFKit warps my html when making a call to the server
I have a fastapi server that returns an html page, but whenever I make a call to the server using pdfkit.from_url function it return a warped pdf, and when i go to my server via browser, it returns the html looking normal, even when i hit ctrl+p to print to pdf!, I don’t know what the issue might be but here is the code