Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f966e83 commit 8c8ec60Copy full SHA for 8c8ec60
site/src/modules/workspaces/DynamicParameter/DynamicParameter.tsx
@@ -315,11 +315,12 @@ const ParameterField: FC<ParameterFieldProps> = ({
315
case "textarea":
316
return (
317
<Textarea
318
+ className="max-w-2xl"
319
defaultValue={defaultValue}
320
onChange={(e) => onChange(e.target.value)}
321
onInput={(e) => {
322
const target = e.currentTarget;
- target.style.height = "auto";
323
+ target.style.maxHeight = "700px";
324
target.style.height = `${target.scrollHeight}px`;
325
}}
326
disabled={disabled}
0 commit comments