From 9e388fb644fe59c458b823c54ee8b83e26becde6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=D1=81=20=D0=A1=D1=83=D0=BB=D1=82?= =?UTF-8?q?=D0=B0=D0=BD=D0=BE=D0=B2?= Date: Wed, 15 Jul 2026 16:46:48 +0300 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=D0=B3=D0=BE=D1=80=D0=B8=D0=B7=D0=BE?= =?UTF-8?q?=D0=BD=D1=82=D0=B0=D0=BB=D1=8C=D0=BD=D0=BE=D0=B5=20=D1=80=D0=B0?= =?UTF-8?q?=D1=81=D0=BF=D0=BE=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=B4=D0=BF=D0=BE=D0=BB=D0=B5=D0=B9=20=D0=B2=20inl?= =?UTF-8?q?ine-=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=BE=D1=80=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ContractNumberField compact: переключатель, select юрлица и input/preview в одну строку - TaskDetail: date/datetime с автопролонгацией — input и чекбокс в одну строку - Увеличена max-width обёртки contract-number до 640px --- client/src/components/ContractNumberField.tsx | 64 +++++++++---------- client/src/pages/TaskDetail.tsx | 10 +-- 2 files changed, 36 insertions(+), 38 deletions(-) diff --git a/client/src/components/ContractNumberField.tsx b/client/src/components/ContractNumberField.tsx index dae6c23..d73a18c 100644 --- a/client/src/components/ContractNumberField.tsx +++ b/client/src/components/ContractNumberField.tsx @@ -130,38 +130,36 @@ export default function ContractNumberField({ const isGenerated = !!(parsed.mode === 'mine' && parsed.value && parsed.value !== ''); return ( -
-
-
- handleModeChange(checked ? 'mine' : 'customer')} - disabled={disabled || isGenerated} - /> - -
+
+
+ handleModeChange(checked ? 'mine' : 'customer')} + disabled={disabled || isGenerated} + /> + +
-
- -
+
+
{mode === 'customer' ? ( @@ -171,10 +169,10 @@ export default function ContractNumberField({ onChange={(e) => handleCustomerChange(e.target.value)} placeholder="Введите шифр заказчика" disabled={disabled} - className={cn(compact && 'h-7 leading-6 px-2')} + className={cn('flex-1 min-w-[160px]', compact && 'h-7 leading-6 px-2 max-w-[220px]')} /> ) : ( -
+
+
{field.autoProlongation && ( -