diff --git a/app/[locale]/page.tsx b/app/[locale]/page.tsx index 05584fc9..99f84e9b 100644 --- a/app/[locale]/page.tsx +++ b/app/[locale]/page.tsx @@ -8,7 +8,7 @@ import { EmailViewer } from "@/components/email/email-viewer"; import { EmailComposer } from "@/components/email/email-composer"; import type { ComposerDraftData } from "@/components/email/email-composer"; import { ThreadConversationView } from "@/components/email/thread-conversation-view"; -import { MobileHeader, MobileViewerHeader } from "@/components/layout/mobile-header"; +import { MobileHeader } from "@/components/layout/mobile-header"; import { ThreadGroup, Email, isUnifiedMailboxId, UNIFIED_ROLE_BY_ID } from "@/lib/jmap/types"; import { useAccountStore } from "@/stores/account-store"; import type { UnifiedAccountClient } from "@/lib/unified-mailbox"; @@ -1909,14 +1909,6 @@ export default function Home() { /> ) : ( <> - {/* Mobile Header for Viewer */} - {isMobile && activeView === "viewer" && ( - - )} - {/* Left: Reply actions */}
- {showBackButton && ((isTablet && !tabletListVisible) || (isFocusedMailLayout && !isMobile)) && onBack && ( + {showBackButton && (isMobile || (isTablet && !tabletListVisible) || (isFocusedMailLayout && !isMobile)) && onBack && (
- {/* Date/time on the right of subject row */} -
+ {/* Date/time on the right of subject row - hidden on mobile, shown next to sender */} +
{formatDateTime(email.receivedAt, timeFormat, { weekday: 'short', year: 'numeric', month: 'short', day: 'numeric' })} @@ -4484,6 +4484,17 @@ export function EmailViewer({ )}
+ {/* Date/time + size on the right (mobile) */} +
+ + {formatDateTime(email.receivedAt, timeFormat, { weekday: 'short', year: 'numeric', month: 'short', day: 'numeric' })} + + {email.size > 0 && ( +
+ {formatFileSize(email.size)} +
+ )} +