Skip to content

Commit 530f30e

Browse files
authored
Var render (#5248)
* add resize to json editor * fix: ts
1 parent 0d0bf06 commit 530f30e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/app/src/components/core/app/formRender/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const InputRender = (props: InputRenderProps) => {
128128
}
129129

130130
if (inputType === InputTypeEnum.JSONEditor) {
131-
return <JSONEditor {...commonProps} />;
131+
return <JSONEditor {...commonProps} resize />;
132132
}
133133

134134
if (inputType === InputTypeEnum.selectLLMModel) {

projects/app/src/components/core/chat/ChatContainer/ChatBox/components/VariablePopover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const VariablePopover = ({
5454
}
5555
>
5656
{({ onClose }) => (
57-
<Box p={4} maxH={'60vh'}>
57+
<Box p={4} maxH={'60vh'} overflow={'auto'}>
5858
{hasExternalVariable && (
5959
<Box textAlign={'left'}>
6060
<Flex

0 commit comments

Comments
 (0)