Adjust tree height

This commit is contained in:
Yang Luo 2023-07-22 22:16:25 +08:00
parent 46209eb83f
commit 31bface6bd
1 changed files with 2 additions and 2 deletions

View File

@ -408,7 +408,7 @@ class FileTree extends React.Component {
return (
<Tree
height={"calc(100vh - 170px)"}
height={"calc(100vh - 220px)"}
virtual={false}
className="draggable-tree"
multiple={false}
@ -844,7 +844,7 @@ class FileTree extends React.Component {
getEditorHeightCss() {
// 79, 123
const filePaneHeight = this.filePane.current?.offsetHeight;
return `calc(100vh - ${filePaneHeight + 234}px)`;
return `calc(100vh - ${filePaneHeight + 186}px)`;
}
render() {