You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flex support in WeasyPrint is know to be quite bad in many cases, there are many open issues about that 😒. We want to rewrite the whole Flex module, but it would require a lot of time / money that we didn’t find yet, unfortunately. We’re currently quite busy on other topics (including Grid layout 🚀, which is much more solid that Flex), but we hope that we’ll find the resources to solve all these dirty Flex bugs in the future.
Using Django with Bootstrap 5 for CSS. Here is the HTML to produce the card design
and the python code as
I'm expecting it to look like the below screenshot
But the pdf rendered has too much space and space breaking. Event text overflowing on longer strings.
Removing
d-flex
(display flex), solves a few of the issues.The text was updated successfully, but these errors were encountered: