mail page fix
This commit is contained in:
parent
1cb76c1c2f
commit
b983d5fdc9
@ -398,7 +398,6 @@ function getReplyBody(email: Email, type: 'reply' | 'reply-all' | 'forward'): st
|
||||
|
||||
if (type === 'forward') {
|
||||
return `
|
||||
<div class="email-content">
|
||||
<div class="prose max-w-none" style="border-left: 2px solid #ccc; padding-left: 1em; margin-left: 0.5em;">
|
||||
<p><strong>From:</strong> ${email.from}</p>
|
||||
<p><strong>Date:</strong> ${date}</p>
|
||||
@ -407,16 +406,13 @@ function getReplyBody(email: Email, type: 'reply' | 'reply-all' | 'forward'): st
|
||||
<br/>
|
||||
<div class="prose max-w-none">${content}</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
} else {
|
||||
return `
|
||||
<div class="email-content">
|
||||
<div class="prose max-w-none" style="border-left: 2px solid #ccc; padding-left: 1em; margin-left: 0.5em;">
|
||||
<p>On ${date}, ${email.from} wrote:</p>
|
||||
<div class="prose max-w-none">${content}</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user