Skip to content

Conversation

@silverkszlo
Copy link
Contributor

@silverkszlo silverkszlo commented Jan 22, 2026

Closes #970

Fixes issue where long continuous text created infinitely wide cells instead of wrapping to multiple lines.

  • Add max-width constraint to cells in generated images
  • Override white-space: pre-wrap from nested divs with !important
  • Apply word-break styles to all nested elements (div, p, span)

Before in edit dialog:
Screenshot from 2026-01-22 10-14-37

image:
Screenshot from 2026-01-22 10-14-21

After in edit dialog:
Screenshot from 2026-01-22 12-08-04

image:
Screenshot from 2026-01-22 12-08-23

- Add max-width constraint to cells in generated images
- Override white-space: pre-wrap from nested divs with !important
- Apply word-break styles to all nested elements (div, p, span)

Fixes issue where long continuous text created infinitely wide cells
instead of wrapping to multiple lines.

Signed-off-by: silver <s.szmajduch@posteo.de>
Copy link
Contributor

@benjaminfrueh benjaminfrueh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@silverkszlo there is one small issue. When the columns take up the full width, it becomes difficult to add text to the table head column of a new empty narrow column. The only way to focus this column is by clicking in the small space to the left of the three-dot menu or by using tab. Clicking directly in the table-head column places the cursor in the next row instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Force text wrapping in table cells

3 participants