Merge pull request #374 from webzard-io/yz-patch

tweak style
This commit is contained in:
tanbowensg 2022-04-13 09:57:10 +08:00 committed by GitHub
commit 910738871e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -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}

View File

@ -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;
}