mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-02-17 17:40:31 +08:00
commit
910738871e
@ -185,7 +185,7 @@ export const Editor: React.FC<Props> = observer(
|
||||
if (codeMode) {
|
||||
return (
|
||||
<Flex width="100%" height="100%">
|
||||
<Box flex="1">
|
||||
<Box width="full" height="full">
|
||||
<SchemaEditor
|
||||
defaultCode={JSON.stringify(app, null, 2)}
|
||||
onChange={setCode}
|
||||
|
@ -11,3 +11,7 @@
|
||||
@import 'codemirror/addon/hint/show-hint.css';
|
||||
@import 'codemirror/addon/tern/tern.css';
|
||||
|
||||
/* let tooltip show on top of modal */
|
||||
.CodeMirror-Tern-tooltip {
|
||||
z-index: 1800;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user