From f91bee132f653ee42dda07a29fd73eadee516243 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Wed, 28 Oct 2026 10:43:54 +0100 Subject: [PATCH] fix: keep the contact form's name fields readable on phones and tablets --- components/contacts/contact-form.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/components/contacts/contact-form.tsx b/components/contacts/contact-form.tsx index e98603380..b2ebe7b04 100644 --- a/components/contacts/contact-form.tsx +++ b/components/contacts/contact-form.tsx @@ -704,7 +704,7 @@ export function ContactForm({ contact, addressBooks, allKeywords, defaultAddress
-
+
{error && (
{error} @@ -824,10 +824,12 @@ export function ContactForm({ contact, addressBooks, allKeywords, defaultAddress
) : ( <> -
+ {/* Two columns in a narrow pane (title and first name, last name and + suffix), one row once there is room, so no name gets cut. */} +
- setPrefix(e.target.value)} placeholder={t("prefix_placeholder")} className="w-20" /> + setPrefix(e.target.value)} placeholder={t("prefix_placeholder")} className="@lg:w-20" />
@@ -839,7 +841,7 @@ export function ContactForm({ contact, addressBooks, allKeywords, defaultAddress
- setSuffix(e.target.value)} placeholder={t("suffix_placeholder")} className="w-20" /> + setSuffix(e.target.value)} placeholder={t("suffix_placeholder")} className="@lg:w-20" />
{/* Either name is enough (or an organization), so neither is starred. */}