修复tpi样式

dev_jupyter
tangjiang 5 years ago
parent ff6fef6c52
commit 482828e3f0

@ -78,6 +78,7 @@
"react-dev-utils": "^5.0.0", "react-dev-utils": "^5.0.0",
"react-dom": "^16.9.0", "react-dom": "^16.9.0",
"react-hot-loader": "^4.0.0", "react-hot-loader": "^4.0.0",
"react-infinite-scroller": "^1.2.4",
"react-loadable": "^5.3.1", "react-loadable": "^5.3.1",
"react-monaco-editor": "^0.25.1", "react-monaco-editor": "^0.25.1",
"react-player": "^1.11.1", "react-player": "^1.11.1",

@ -27,17 +27,17 @@
} }
} }
.margin, // .margin,
.margin-view-overlays, // .margin-view-overlays,
.current-line{ // .current-line{
width: 40px !important; // width: 40px !important;
} // }
.monaco-editor .margin-view-overlays .line-numbers{ // .monaco-editor .margin-view-overlays .line-numbers{
text-align: center; // text-align: center;
} // }
.monaco-scrollable-element{ // .monaco-scrollable-element{
left: 40px !important; // left: 40px !important;
} // }
} }
.setting_drawer{ .setting_drawer{

@ -179,7 +179,7 @@ class MainContent extends Component {
{/*<div className="-changebg -bg-weightblack" id="-bg-change-color"></div>*/} {/*<div className="-changebg -bg-weightblack" id="-bg-change-color"></div>*/}
</div> </div>
<div className="split-panel--second -layout -vertical -flex -relative -bg-black -flex-basic60" <div className="split-panel--second -layout -vertical -flex -relative -bg-black -flex-basic60"
id="games_valuation_contents" style={{height: '258px'}}> id="games_valuation_contents" style={{height: '258px', minHeight: '85px'}}>
{/* 测试结果、评测信息区域 */} {/* 测试结果、评测信息区域 */}
{ loading ? <CircularProgress size={40} thickness={3} style={{ marginLeft: 'auto', marginRight: 'auto', marginTop: '10%', display: 'block' }}/> { loading ? <CircularProgress size={40} thickness={3} style={{ marginLeft: 'auto', marginRight: 'auto', marginTop: '10%', display: 'block' }}/>
: :

@ -145,7 +145,7 @@
border-width: 1px !important; border-width: 1px !important;
} }
.monaco-editor .margin, /* .monaco-editor .margin,
.monaco-editor .margin-view-overlays{ .monaco-editor .margin-view-overlays{
width: 54px !important; width: 54px !important;
text-align: center !important; text-align: center !important;
@ -157,4 +157,4 @@
.monaco-editor .margin-view-overlays .line-numbers{ .monaco-editor .margin-view-overlays .line-numbers{
text-align: center !important; text-align: center !important;
} } */
Loading…
Cancel
Save