-
-
Notifications
You must be signed in to change notification settings - Fork 686
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
Flex-box rendering layout issues with multiline text #667
Comments
Looks like the height of the div with lots-of-body-text paragraphs is calculated without indenting it by the Found a strange workaround -- which might be a hint for @liZe where to fix the bug: |
Hi @Tontyna, thanks for looking into this and identifying the probable cause. One note, your workaround does work but ignores the In fact there are a few situations where the |
@tokyovigilante It's fixed, thanks for the report! We currently have a tiny opinion survey open in #635, would you be interested in writing a little message? Thank you! |
@liZe Thanks so much! The flex-box spacing is perfect now. I still have two smaller issues that I mentioned in my reply to @Tontyna above about I will leave a message as you request. |
Yes, you shall!
Thank you! |
I've moved my CV over from a Word document to HTML with Weasyprint, and am now converting my table-based layout to flex-box using
master
. However it seems to have a layout bug when a single line of text is laid out with a multi-line paragraph adjacent.Sample code:
I'd expect the heading Employment History to be rendered below the body text blocks (and indeed it is in Chrome) however Weasyprint renders it near the bottom of the body text. If I remove the fixed width column things are even worse with the body text rendered over the top of the headings.
Using a
<table>
-based layout works fine but then I have some difficulty aligning more complex layouts elsewhere in the document and being able to useflex-box
would solve all my problems.Thanks for Weasyprint BTW, it's amazing software!
The text was updated successfully, but these errors were encountered: