fix(site): плитка «Сеть» — «по запросу» переносится по словам на узкой плитке
Some checks are pending
Auto-tag / Create date-tag (push) Waiting to run
CI / Backend (.NET 8) (push) Waiting to run
CI / Web (React + Vite) (push) Waiting to run
CI / POS (WPF, Windows) (push) Waiting to run
Docker Public / Build + push Public (test + latest) (push) Waiting to run
Docker Public / Deploy :test → test.food-market.kz (push) Blocked by required conditions

Добавочно к a5f885c: «по запросу» не сумма, не нужно держать её nowrap —
на 320–360px слово не влезало в колонку. Переносим по словам; суммы (nowrap)
и «/мес» под ними не трогаем.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
nns 2026-10-12 01:14:56 +05:00
parent a5f885cb80
commit ee5c7ecc56

View file

@ -234,8 +234,15 @@ export default function SignupForm({ defaultPlan = 'start' }: Props) {
хвост срезается. Разносим: сумма+₸ одной неразрывной строкой, хвост срезается. Разносим: сумма+₸ одной неразрывной строкой,
«/мес» — отдельной строкой под ней. Сумма видна целиком. */} «/мес» — отдельной строкой под ней. Сумма видна целиком. */}
<div className="text-xs text-slate-500 leading-tight mt-0.5"> <div className="text-xs text-slate-500 leading-tight mt-0.5">
{p.per ? (
<>
<span className="block whitespace-nowrap">{p.price}</span> <span className="block whitespace-nowrap">{p.price}</span>
{p.per && <span className="block text-[10px] text-slate-400">{p.per}</span>} <span className="block text-[10px] text-slate-400">{p.per}</span>
</>
) : (
// «по запросу» — не сумма: пусть переносится по словам на узкой плитке
<span className="block">{p.price}</span>
)}
</div> </div>
</label> </label>
))} ))}