style: textarea max rows
This commit is contained in:
@@ -63,7 +63,7 @@ const BasicForm: React.FC<AddModalProps> = ({ action, currentData }) => {
|
||||
'vllm serve {{model_path}} --port {{port}} --host {{worker_ip}} --served-model-name {{model_name}}'
|
||||
}
|
||||
)}
|
||||
autoSize={{ minRows: 2, maxRows: 4 }}
|
||||
autoSize={{ minRows: 2, maxRows: 5 }}
|
||||
label={intl.formatMessage({
|
||||
id: 'backend.form.defaultExecuteCommand'
|
||||
})}
|
||||
|
||||
@@ -65,7 +65,7 @@ const CustomBackend: React.FC = () => {
|
||||
required
|
||||
scaleSize={false}
|
||||
alwaysFocus={true}
|
||||
autoSize={{ minRows: 2, maxRows: 4 }}
|
||||
autoSize={{ minRows: 2, maxRows: 5 }}
|
||||
onBlur={handleRunCommandOnBlur}
|
||||
label={intl.formatMessage({ id: 'backend.runCommand' })}
|
||||
description={intl.formatMessage({
|
||||
|
||||
Reference in New Issue
Block a user