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
Two tables here to compare, note the min-width css rule:
<head><style>tabletd { border:1px solid black; }
table.key-valtrtd:nth-child(1) { min-width:13em; }
</style></head><body><tableclass="key-val"><tbody><tr><td>Normal Key 1</td><td>Normal Value 1</td></tr><tr><td>Normal Key 2</td><td>Normal Value 2</td></tr></tbody></table><br><tableclass="key-val"><tbody><tr><td>Short value</td><td>Works as expected</td></tr><tr><td>Long Value</td><td>Annoyingly breaks my table layout: Sed ut perspiciatis unde omnis iste natus error sit voluptatem
accusantium doloremque laudantium, totam rem aperiam,
eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
</td></tr></tbody></table></body>
Firefox:
Weasyprint:
I have experimented with different width units as well as tried adjusting overflow-wrap with no effect on Weasyprint's result.
The text was updated successfully, but these errors were encountered:
mikeroll
changed the title
Table cell min-width is ignored when another cell has overflowing text.
Table cell min-width is ignored when another cell has overflowing text
Jun 17, 2021
Two tables here to compare, note the
min-width
css rule:Firefox:

Weasyprint:

I have experimented with different width units as well as tried adjusting
overflow-wrap
with no effect on Weasyprint's result.The text was updated successfully, but these errors were encountered: