Element: 关于tree里面overflow的问题

Created on 9 Feb 2017  ·  4Comments  ·  Source: ElemeFE/element

qq 20170209101020
图片右边的操作 按钮被遮住了,
示例demo地址http://jsfiddle.net/k599kg67/
demo里面的文字也是显示不全,我该如何实现这种滚动条效果

Most helpful comment

.el-tree-node__content相当于每一个div都有了,后面发现我改变
.el-tree-node.is-expanded>.el-tree-node__children {
display: inline;
}
这个的样式就有效果了

All 4 comments

自己加一条样式:

.el-tree-node__content {
  overflow: auto;
}

.el-tree-node__content相当于每一个div都有了,后面发现我改变
.el-tree-node.is-expanded>.el-tree-node__children {
display: inline;
}
这个的样式就有效果了

@Leopoldthecoder 你这种方案只能是每个节点出滚动条,应该是树出现滚动条

@killdada 具体什么原因呢

Was this page helpful?
0 / 5 - 0 ratings