Browse Source

Adjust tree height

HEAD
Yang Luo 2 years ago
parent
commit
31bface6bd
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      web/src/FileTree.js

+ 2
- 2
web/src/FileTree.js 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() {


Loading…
Cancel
Save