From d3b1869612bfd76f39242b7697e6b1fda792fe8b Mon Sep 17 00:00:00 2001 From: iisultanov <99495690+iisultanov@users.noreply.github.com> Date: Wed, 15 Jul 2026 22:12:37 +0300 Subject: [PATCH] fix(ContractNumberField): clean up compact inline layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Hide 'Номер заказчика' label in compact mode (only switch shown) - Shrink switch to scale-75 in compact mode - Shorten placeholders: 'Юрлицо' / 'Шифр' - Reduce min-widths: select 180px, input 160px, preview 180px - Use gap-1.5 instead of space-x-2 in preview block - Fixes cluttered inline edit appearance next to field label --- client/src/components/ContractNumberField.tsx | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/client/src/components/ContractNumberField.tsx b/client/src/components/ContractNumberField.tsx index d0c9449..37a6750 100644 --- a/client/src/components/ContractNumberField.tsx +++ b/client/src/components/ContractNumberField.tsx @@ -144,26 +144,29 @@ export default function ContractNumberField({ return (