Skip to content

Commit d61268a

Browse files
authored
chore(crud): add minLines to crud json editor for smaller docs design (#5092)
design: add minLines to crud json editor for smaller docs
1 parent 60997d1 commit d61268a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/compass-crud/src/components/json-editor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ const JSONEditor: React.FunctionComponent<JSONEditorProps> = ({
208208
copyable={false}
209209
formattable={false}
210210
customActions={actions}
211+
minLines={3}
211212
readOnly={!editing}
212213
showLineNumbers={editing}
213214
className={cx(editorStyles, darkMode && editorDarkModeStyles)}

0 commit comments

Comments
 (0)