Merge branch 'feature_repo_second_page' of https://git.trustie.net/Gitlink/forgeplus-react into feature_repo_second_page_xiesi
This commit is contained in:
commit
5195f22f00
|
@ -19,7 +19,7 @@ function Footer(){
|
||||||
|
|
||||||
return(
|
return(
|
||||||
<div>
|
<div>
|
||||||
<div style={{height:"497px"}}></div>
|
<div style={{height:"543px"}}></div>
|
||||||
<div className="newFooter edu-txt-center">
|
<div className="newFooter edu-txt-center">
|
||||||
{value && showhtml(value)}
|
{value && showhtml(value)}
|
||||||
{/* <div className="footerInfos">
|
{/* <div className="footerInfos">
|
||||||
|
|
|
@ -52,7 +52,6 @@ class m_editor extends Component {
|
||||||
|
|
||||||
const handleEditorMount = (editor, monaco) => {
|
const handleEditorMount = (editor, monaco) => {
|
||||||
editor.onDidChangeModelDecorations(() => {
|
editor.onDidChangeModelDecorations(() => {
|
||||||
updateEditorHeight(); // typing
|
|
||||||
requestAnimationFrame(updateEditorHeight); // folding
|
requestAnimationFrame(updateEditorHeight); // folding
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -84,6 +83,8 @@ class m_editor extends Component {
|
||||||
editor.layout();
|
editor.layout();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
updateEditorHeight(); // typing
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue