diff --git a/client/src/pages/TaskDetail.tsx b/client/src/pages/TaskDetail.tsx index 7ec1ea6..6f58784 100644 --- a/client/src/pages/TaskDetail.tsx +++ b/client/src/pages/TaskDetail.tsx @@ -952,11 +952,11 @@ function FieldValueRow({ // Рендер редактора по типу поля const renderEditor = () => { const inputClass = cn( - 'border border-input rounded px-1.5 text-sm bg-background focus:outline-none focus:ring-1 focus:ring-ring w-full max-w-[280px] h-7 leading-6', + 'border border-input rounded px-1.5 text-sm bg-background focus:outline-none focus:ring-1 focus:ring-ring w-auto max-w-[320px] h-7 leading-6', errorMessage && 'border-destructive ring-destructive' ); const textareaClass = cn( - 'border border-input rounded px-1.5 py-0.5 text-sm bg-background focus:outline-none focus:ring-1 focus:ring-ring flex-1 min-w-0', + 'border border-input rounded px-1.5 py-0.5 text-sm bg-background focus:outline-none focus:ring-1 focus:ring-ring w-auto min-w-[200px]', errorMessage && 'border-destructive ring-destructive' ); if (field.type === 'text' || field.type === 'number') {