Skip to content

fix: word wrapping in tables cuts svg image for short words#1020

Merged
benjaminfrueh merged 1 commit intomainfrom
fix/tables-wordwrapping
Feb 5, 2026
Merged

fix: word wrapping in tables cuts svg image for short words#1020
benjaminfrueh merged 1 commit intomainfrom
fix/tables-wordwrapping

Conversation

@benjaminfrueh
Copy link
Contributor

Removes word-break: break-word that was causing unnecessary word breaks in table cells even at small widths than max-width, causing problems with the height of the generated SVG. Keeps overflow-wrap: break-word which only breaks words when they overflow their max-width container.

Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>
@benjaminfrueh benjaminfrueh merged commit df2bf87 into main Feb 5, 2026
33 checks passed
@benjaminfrueh benjaminfrueh deleted the fix/tables-wordwrapping branch February 5, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants