Commit 530f30e3 by Archer Committed by GitHub

Var render (#5248)

* add resize to json editor

* fix: ts
parent 0d0bf063
...@@ -128,7 +128,7 @@ const InputRender = (props: InputRenderProps) => { ...@@ -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) {
......
...@@ -54,7 +54,7 @@ const VariablePopover = ({ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment