Browse Source

fix: json editor style issue

Signed-off-by: ryjiang <jiangruiyi@gmail.com>
ryjiang 1 month ago
parent
commit
1c2461ee45
1 changed files with 1 additions and 0 deletions
  1. 1 0
      client/src/pages/play/JSONEditor.tsx

+ 1 - 0
client/src/pages/play/JSONEditor.tsx

@@ -13,6 +13,7 @@ import { getCMStyle } from './style';
 
 const EditorContainer = styled('div')({
   height: '100%',
+  width: '100%',
   overflow: 'auto',
   '& .cm-editor': {
     height: '100%',