Skip to content

Commit 5dc992b

Browse files
authored
Merge pull request #322 from mousheng/fix_json_edit
fix json edit
2 parents ab68b67 + fc07250 commit 5dc992b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/packages/lowcoder/src/base/codeEditor/extensions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const defaultTheme = EditorView.theme({
111111
"&.cm-editor": {
112112
backgroundColor: "#ffffff",
113113
width: "100%",
114-
height: "100%",
114+
// height: "100%",
115115
"font-size": "13px",
116116
transition: "all .4s ease",
117117
outline: "none",

client/packages/lowcoder/src/comps/comps/jsonComp/jsonEditorComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const Wrapper = styled.div`
2929
background-color: #fff;
3030
border: 1px solid #d7d9e0;
3131
border-radius: 4px;
32-
overflow: hidden;
32+
overflow: auto;
3333
height: 100%;
3434
`;
3535

0 commit comments

Comments
 (0)