diff --git a/app/components/NotifyMeForm.tsx b/app/components/NotifyMeForm.tsx index d0db649..16b8f21 100644 --- a/app/components/NotifyMeForm.tsx +++ b/app/components/NotifyMeForm.tsx @@ -49,24 +49,25 @@ export function NotifyMeForm({ productId, variantName = "" }: { productId: numbe } return ( + // Stacked, not side-by-side — narrow product cards (shop grid, related + // products) don't leave enough width for input + button in one row + // without either truncating the placeholder or squeezing the button.
-
- setEmail(e.target.value)} - placeholder="E-Mail für Verfügbarkeits-Info" - aria-label="E-Mail für Verfügbarkeits-Info" - className="flex-1 min-w-0 rounded-sm border border-border px-3 py-2 text-body-sm text-text-primary bg-bg-base focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand" - /> - -
+ setEmail(e.target.value)} + placeholder="E-Mail-Adresse" + aria-label="E-Mail-Adresse für Verfügbarkeits-Info" + className="w-full rounded-sm border border-border px-3 py-2 text-body-sm text-text-primary bg-bg-base focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand" + /> + {error &&

{error}

}
);