fix: adjust text wrapping for email subject in EmailViewer and ThreadConversationView components
This commit is contained in:
@@ -1822,8 +1822,8 @@ export function EmailViewer({
|
||||
</Button>
|
||||
)}
|
||||
<div className="flex-1 min-w-0">
|
||||
<div className="flex items-center gap-2">
|
||||
<h1 className="text-lg lg:text-2xl font-bold text-foreground tracking-tight truncate">
|
||||
<div className="flex items-start gap-2">
|
||||
<h1 className="text-lg lg:text-2xl font-bold text-foreground tracking-tight break-words min-w-0">
|
||||
{email.subject || t('no_subject')}
|
||||
</h1>
|
||||
{/* Star inline with subject (top toolbar mode) */}
|
||||
|
||||
@@ -149,7 +149,7 @@ export function ThreadConversationView({
|
||||
<ArrowLeft className="w-5 h-5" />
|
||||
</button>
|
||||
<div className="flex-1 min-w-0">
|
||||
<h1 className="font-semibold text-foreground truncate">
|
||||
<h1 className="font-semibold text-foreground break-words">
|
||||
{thread.latestEmail.subject || t("email_viewer.no_subject")}
|
||||
</h1>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
|
||||
Reference in New Issue
Block a user