fix: apply dark background to email content wrapper in dark mode

This commit is contained in:
Linus Rath
2026-05-17 17:40:35 +02:00
parent 243a2adfbf
commit 452976ed95
+2 -1
View File
@@ -5135,7 +5135,8 @@ export function EmailViewer({
<div className={cn(
"email-content-wrapper overflow-x-auto",
!isDark && resolvedTheme === 'dark' ? "bg-white email-content-light" : "bg-background"
)}>
)}
style={isDark ? { backgroundColor: '#121212' } : undefined}>
{isBodyLoading ? (
<div
className="space-y-3 px-6 py-4 animate-pulse"