.project_tree { padding-left: 20px; height: calc(100vh - 303px); overflow: auto; } .tree{ overflow-y: hidden; overflow-x: scroll; 80px; height: 500px; } .el-tree { min- 100%; display:inline-block !important; }