diff --git a/public/react/package.json b/public/react/package.json index bf0b5cce0..25aa1d87f 100644 --- a/public/react/package.json +++ b/public/react/package.json @@ -78,6 +78,7 @@ "react-dev-utils": "^5.0.0", "react-dom": "^16.9.0", "react-hot-loader": "^4.0.0", + "react-infinite-scroller": "^1.2.4", "react-loadable": "^5.3.1", "react-monaco-editor": "^0.25.1", "react-player": "^1.11.1", diff --git a/public/react/src/modules/developer/components/myMonacoEditor/index.scss b/public/react/src/modules/developer/components/myMonacoEditor/index.scss index 0543e969a..61cc8a694 100644 --- a/public/react/src/modules/developer/components/myMonacoEditor/index.scss +++ b/public/react/src/modules/developer/components/myMonacoEditor/index.scss @@ -27,17 +27,17 @@ } } - .margin, - .margin-view-overlays, - .current-line{ - width: 40px !important; - } - .monaco-editor .margin-view-overlays .line-numbers{ - text-align: center; - } - .monaco-scrollable-element{ - left: 40px !important; - } + // .margin, + // .margin-view-overlays, + // .current-line{ + // width: 40px !important; + // } + // .monaco-editor .margin-view-overlays .line-numbers{ + // text-align: center; + // } + // .monaco-scrollable-element{ + // left: 40px !important; + // } } .setting_drawer{ diff --git a/public/react/src/modules/page/MainContent.js b/public/react/src/modules/page/MainContent.js index aa14fa6cb..9c50e0649 100644 --- a/public/react/src/modules/page/MainContent.js +++ b/public/react/src/modules/page/MainContent.js @@ -179,7 +179,7 @@ class MainContent extends Component { {/*
*/}
+ id="games_valuation_contents" style={{height: '258px', minHeight: '85px'}}> {/* 测试结果、评测信息区域 */} { loading ? : diff --git a/public/react/src/modules/page/component/monaco/TPIMonaco.css b/public/react/src/modules/page/component/monaco/TPIMonaco.css index 368ed5c8f..0ce0ed54c 100644 --- a/public/react/src/modules/page/component/monaco/TPIMonaco.css +++ b/public/react/src/modules/page/component/monaco/TPIMonaco.css @@ -145,7 +145,7 @@ border-width: 1px !important; } -.monaco-editor .margin, +/* .monaco-editor .margin, .monaco-editor .margin-view-overlays{ width: 54px !important; text-align: center !important; @@ -157,4 +157,4 @@ .monaco-editor .margin-view-overlays .line-numbers{ text-align: center !important; -} \ No newline at end of file +} */ \ No newline at end of file