Fix email signature preview

This commit is contained in:
gpt-engineer-app[bot]
2025-10-28 19:46:33 +00:00
parent a4005acc6d
commit 994ec886e4

View File

@@ -147,13 +147,11 @@ export default function AdminEmailSettings() {
<Alert>
<AlertDescription>
<strong>Preview:</strong> The signature will appear as:
<div className="mt-2 p-3 bg-muted rounded-md text-sm font-mono">
<div className="mt-2 p-3 bg-muted rounded-md text-sm font-mono whitespace-pre-wrap">
[Your reply message]
<br />
<br />
---
<br />
{signature || '[No signature set]'}
{'\n\n'}---
{'\n'}[Admin Display Name]
{signature ? `\n${signature}` : '\n[No signature set]'}
</div>
</AlertDescription>
</Alert>