Adjust tree height
This commit is contained in:
parent
46209eb83f
commit
31bface6bd
|
@ -408,7 +408,7 @@ class FileTree extends React.Component {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tree
|
<Tree
|
||||||
height={"calc(100vh - 170px)"}
|
height={"calc(100vh - 220px)"}
|
||||||
virtual={false}
|
virtual={false}
|
||||||
className="draggable-tree"
|
className="draggable-tree"
|
||||||
multiple={false}
|
multiple={false}
|
||||||
|
@ -844,7 +844,7 @@ class FileTree extends React.Component {
|
||||||
getEditorHeightCss() {
|
getEditorHeightCss() {
|
||||||
// 79, 123
|
// 79, 123
|
||||||
const filePaneHeight = this.filePane.current?.offsetHeight;
|
const filePaneHeight = this.filePane.current?.offsetHeight;
|
||||||
return `calc(100vh - ${filePaneHeight + 234}px)`;
|
return `calc(100vh - ${filePaneHeight + 186}px)`;
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|
Loading…
Reference in New Issue