diff --git a/src/app/carbets/_components/booking-form.tsx b/src/app/carbets/_components/booking-form.tsx index 816368c..676112f 100644 --- a/src/app/carbets/_components/booking-form.tsx +++ b/src/app/carbets/_components/booking-form.tsx @@ -182,7 +182,8 @@ export function BookingForm({ max={capacity} value={guestCount} onChange={(e) => setGuestCount(Math.max(1, Math.min(capacity, Number(e.target.value) || 1)))} - className="mt-0.5 w-full rounded-md border border-zinc-300 px-2 py-1.5" + inputMode="numeric" + className="mt-0.5 block w-full min-h-[44px] rounded-md border border-zinc-300 px-3 py-2 text-base" /> @@ -215,7 +216,7 @@ export function BookingForm({ type="button" onClick={submit} disabled={!canSubmit} - className="w-full rounded-md bg-emerald-600 px-4 py-2.5 text-sm font-semibold text-white hover:bg-emerald-700 disabled:opacity-50" + className="w-full min-h-[44px] rounded-md bg-emerald-600 px-4 py-3 text-sm font-semibold text-white hover:bg-emerald-700 disabled:opacity-50" > {busy ? "Envoi…" diff --git a/src/app/materiel/[itemId]/_components/AddToCart.tsx b/src/app/materiel/[itemId]/_components/AddToCart.tsx index 0ee7e36..490f0ab 100644 --- a/src/app/materiel/[itemId]/_components/AddToCart.tsx +++ b/src/app/materiel/[itemId]/_components/AddToCart.tsx @@ -50,7 +50,7 @@ export function AddToCart({ itemId, pricePerDay, deposit, maxQty }: Props) { value={start} min={todayPlus(0)} onChange={(e) => setStart(e.target.value)} - className="mt-0.5 w-full rounded-md border border-zinc-300 px-2 py-1.5" + className="mt-0.5 block w-full min-h-[44px] rounded-md border border-zinc-300 px-3 py-2 text-base" /> @@ -73,7 +73,8 @@ export function AddToCart({ itemId, pricePerDay, deposit, maxQty }: Props) { min={1} max={maxQty} onChange={(e) => setQty(Math.max(1, Math.min(maxQty, Number(e.target.value) || 1)))} - className="mt-0.5 w-full rounded-md border border-zinc-300 px-2 py-1.5" + inputMode="numeric" + className="mt-0.5 block w-full min-h-[44px] rounded-md border border-zinc-300 px-3 py-2 text-base" /> @@ -97,7 +98,7 @@ export function AddToCart({ itemId, pricePerDay, deposit, maxQty }: Props) { type="button" onClick={onAdd} disabled={alreadyInCart || nights === 0} - className="w-full rounded-md bg-emerald-600 px-4 py-2.5 text-sm font-semibold text-white hover:bg-emerald-700 disabled:opacity-50" + className="w-full min-h-[44px] rounded-md bg-emerald-600 px-4 py-3 text-sm font-semibold text-white hover:bg-emerald-700 disabled:opacity-50" > {alreadyInCart ? "Déjà dans le panier" : "Ajouter au panier"} @@ -108,7 +109,7 @@ export function AddToCart({ itemId, pricePerDay, deposit, maxQty }: Props) { Voir mon panier diff --git a/src/app/panier/_components/CartReview.tsx b/src/app/panier/_components/CartReview.tsx index e890656..2eb4023 100644 --- a/src/app/panier/_components/CartReview.tsx +++ b/src/app/panier/_components/CartReview.tsx @@ -113,7 +113,14 @@ export function CartReview({ lines }: { lines: Line[] }) { ))} -