Var render (#5248)

* add resize to json editor

* fix: ts
This commit is contained in:
Archer
2025-07-18 00:30:24 +08:00
committed by GitHub
parent 0d0bf06307
commit 530f30e3e8
2 changed files with 2 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ const InputRender = (props: InputRenderProps) => {
} }
if (inputType === InputTypeEnum.JSONEditor) { if (inputType === InputTypeEnum.JSONEditor) {
return <JSONEditor {...commonProps} />; return <JSONEditor {...commonProps} resize />;
} }
if (inputType === InputTypeEnum.selectLLMModel) { if (inputType === InputTypeEnum.selectLLMModel) {

View File

@@ -54,7 +54,7 @@ const VariablePopover = ({
} }
> >
{({ onClose }) => ( {({ onClose }) => (
<Box p={4} maxH={'60vh'}> <Box p={4} maxH={'60vh'} overflow={'auto'}>
{hasExternalVariable && ( {hasExternalVariable && (
<Box textAlign={'left'}> <Box textAlign={'left'}>
<Flex <Flex