Skip to content

Fix whitespace in HTML emails by removing unnecessary whitespace class#268

Open
orvad wants to merge 1 commit intoabhinavxd:mainfrom
orvad:fix-whitespace-in-html-emails
Open

Fix whitespace in HTML emails by removing unnecessary whitespace class#268
orvad wants to merge 1 commit intoabhinavxd:mainfrom
orvad:fix-whitespace-in-html-emails

Conversation

@orvad
Copy link
Copy Markdown

@orvad orvad commented Mar 19, 2026

Summary

  • Removed whitespace-pre-wrap from the HTML message content container in MessageBubble.vue, which was causing incorrect whitespace rendering in HTML emails (e.g., excessive line breaks or collapsed layouts)
  • HTML emails already define their own whitespace handling via inline styles; the Tailwind whitespace-pre-wrap class was overriding that and producing visual artifacts

Test plan

  • Open a conversation containing an HTML email and verify whitespace renders correctly
  • Verify plain text messages still display with proper line breaks
  • Check emails with mixed content (attachments + HTML body) for correct spacing

@abhinavxd
Copy link
Copy Markdown
Owner

Hey, thanks for the PR! I will merge this as soon as I merge - #114

#114 PR adds the live chat widget, which required me to refactor and move many parts of the project. Since everything would need to be retested anyway, I ended up bundling in a lot of other fixes as well to avoid multiple rounds of QA.

@abhinavxd
Copy link
Copy Markdown
Owner

Hey there's a merge conflict due to recent merge

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.

2 participants