From a053c8a38d0666e3d0ecbeb8605efef2906ba87f Mon Sep 17 00:00:00 2001 From: Matthieu MALVACHE Date: Fri, 17 Apr 2026 13:39:53 +0200 Subject: [PATCH] fix(print): hide reply/archive/delete action bar and tablet back button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The email viewer's quick-action row (Reply, ReplyAll, Forward, Archive, Delete, Star and friends) and the tablet back button were visible in the printed output. Apply Tailwind's print:hidden utility to both so the printed page shows only the actual mail content — header, body, and attachments — which is what users expect to archive on paper. The More Actions dropdown and the Quick Reply section already had print:hidden applied. --- components/email/email-viewer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/email/email-viewer.tsx b/components/email/email-viewer.tsx index 6e2c125..daf7820 100644 --- a/components/email/email-viewer.tsx +++ b/components/email/email-viewer.tsx @@ -705,7 +705,7 @@ export function EmailViewer({ variant="ghost" size="icon" onClick={onBack} - className="h-11 w-11 lg:h-10 lg:w-10 flex-shrink-0 -ml-2" + className="h-11 w-11 lg:h-10 lg:w-10 flex-shrink-0 -ml-2 print:hidden" aria-label={t('back_to_list')} > @@ -742,7 +742,7 @@ export function EmailViewer({ {/* Quick Actions */} -
+
{/* Loading indicator */} {isLoading && (