Skip to content

Commit 042525a

Browse files
committed
min height
1 parent da731f2 commit 042525a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ const Wrapper = styled.div<{$height: boolean; $showVerticalScrollbar:boolean}>`
3232
border: 1px solid #d7d9e0;
3333
border-radius: 4px;
3434
overflow-y: scroll;
35-
height: ${(props) => (props.$height ? '100%' : '200px')};
35+
min-height:200px;
36+
height: 100%;
3637
&::-webkit-scrollbar {
3738
width: 16px;
3839
display: ${props=>props.$showVerticalScrollbar&&'block !important'};

0 commit comments

Comments
 (0)