From 482828e3f0c566beff5fe68def8a7464fde2170e Mon Sep 17 00:00:00 2001 From: tangjiang <465264938@qq.com> Date: Tue, 14 Jan 2020 19:18:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtpi=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/package.json | 1 + .../components/myMonacoEditor/index.scss | 22 +++++++++---------- public/react/src/modules/page/MainContent.js | 2 +- .../page/component/monaco/TPIMonaco.css | 4 ++-- 4 files changed, 15 insertions(+), 14 deletions(-) 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 { {/*
*/}