mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
The same missing dir="auto" as the read view, in the two other places that build an email document. thread-conversation-view builds a full document for each card's iframe and its <body> had no direction, so a thread of right-to-left mail read left-to-right in the one view that shows several messages at once. eml-preview hands srcDoc a fragment rather than a document, so the <body> is the browser's implicit one and cannot be annotated at all. The wrapper the fragment already needs carries dir="auto" instead: a <div> around sanitized HTML, and the existing <pre> for plain text. Neither changes layout - the implicit body and its default margin stay exactly as they were. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019KwXZEwxijHRbfobfXmcK2