fix: remove redundant reply/forward action bar from MailDetail

This commit is contained in:
Agent Zero
2026-07-20 10:55:03 +02:00
parent 9143346824
commit 2a33b5706a
@@ -133,18 +133,6 @@ export function MailDetail({
</div> </div>
</div> </div>
{/* Action toolbar */}
<div className="flex items-center gap-2 px-3 py-2 md:px-4 md:py-2 border-b border-secondary-200" data-testid="mail-detail-toolbar">
<button onClick={() => onReply(mail)} className="inline-flex items-center gap-1 px-3 py-1.5 rounded text-sm text-secondary-700 hover:bg-secondary-100 min-h-touch" aria-label={t('mail.reply')}>
<svg className="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M3 10h10a8 8 0 018 8v2M3 10l6 6m-6-6l6-6" /></svg>
{t('mail.reply')}
</button>
<button onClick={() => onForward(mail)} className="inline-flex items-center gap-1 px-3 py-1.5 rounded text-sm text-secondary-700 hover:bg-secondary-100 min-h-touch" aria-label={t('mail.forward')}>
<svg className="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M7 16l-4-4m0 0l4-4m-4 4h18" /></svg>
{t('mail.forward')}
</button>
</div>
{/* Body + Attachments — scrollable together */} {/* Body + Attachments — scrollable together */}
<div className="flex-1 overflow-y-auto" data-testid="mail-detail-body"> <div className="flex-1 overflow-y-auto" data-testid="mail-detail-body">
<div className="px-3 py-3 md:px-4 md:py-4"> <div className="px-3 py-3 md:px-4 md:py-4">