diff --git a/components/email/email-composer.tsx b/components/email/email-composer.tsx index 0a08d2a28..56b7dcab6 100644 --- a/components/email/email-composer.tsx +++ b/components/email/email-composer.tsx @@ -4481,14 +4481,16 @@ export function EmailComposer({ {/* From field */}
{t('from')}: -
+
{fromOverrideEnabled ? ( -
+ // Both fields need room to type in: on a narrow composer they take a + // line of their own, or a line each, rather than squeeze to nothing. +
setFromOverrideName(e.target.value)} placeholder={t('from_override.name_placeholder')} - className="h-7 text-sm w-32 md:w-40 shrink-0" + className="h-7 text-sm flex-1 min-w-32 md:flex-none md:w-40" aria-label={t('from_override.name_label')} /> setFromOverrideEmail(e.target.value)} placeholder={t('from_override.email_placeholder')} type="email" - className="h-7 text-sm flex-1 min-w-0 font-mono" + className="h-7 text-sm flex-[2] min-w-32 font-mono" aria-label={t('from_override.email_label')} />