fix(email-viewer): Enable horizontal scroll for wide HTML emails
- Change overflow-hidden to overflow-x-auto on email body container - Add CSS for email-content-wrapper with inline-block display - Use width: max-content on email-content to respect intrinsic width - Prevent tables with width="100%" from shrinking below content Also updates dependencies: - next: 16.0.10 -> 16.1.1 - react/react-dom: 19.2.1 -> 19.2.3 - next-intl: 4.5.8 -> 4.6.1 - tailwindcss: 4.1.17 -> 4.1.18 - eslint: 9.39.1 -> 9.39.2 - jmap-jam: 0.11.0 -> 0.13.1 - lucide-react: 0.556.0 -> 0.562.0
This commit is contained in:
@@ -1195,7 +1195,7 @@ export function EmailViewer({
|
||||
)}
|
||||
|
||||
{/* Email Body */}
|
||||
<div className="bg-background rounded-lg shadow-sm border border-border overflow-hidden">
|
||||
<div className="bg-background rounded-lg shadow-sm border border-border overflow-x-auto">
|
||||
<div className="email-content-wrapper p-6">
|
||||
{emailContent.isHtml ? (
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user