diff --git a/components/email/email-viewer.tsx b/components/email/email-viewer.tsx index 234e401c..dd3c11c6 100644 --- a/components/email/email-viewer.tsx +++ b/components/email/email-viewer.tsx @@ -4525,6 +4525,7 @@ export function EmailViewer({ {/* === ATTACHMENTS below header (below-header mode, desktop only) === */} {attachmentPosition === 'below-header' && effectiveAttachments.length > 0 && (
+
{/* Hidden ghost row used purely for measuring chip widths */}
)} +
{showAllBelowHeaderAttachments && visibleBelowHeaderCount !== null && effectiveAttachments.length > visibleBelowHeaderCount && ( <>
setShowAllBelowHeaderAttachments(false)} />