mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-15 03:06:25 +08:00
docs(components): [tree] update example style (#19945)
This commit is contained in:
@ -84,12 +84,15 @@ const data: Tree[] = [
|
||||
.is-penultimate > .el-tree-node__content {
|
||||
color: #626aef;
|
||||
}
|
||||
|
||||
.el-tree .el-tree-node.is-penultimate > .el-tree-node__children {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.is-penultimate > .el-tree-node__children > div {
|
||||
width: 25%;
|
||||
display: inline-block;
|
||||
margin-right: 4px;
|
||||
|
||||
&:not(:first-child) .el-tree-node__content {
|
||||
padding-left: 0px !important;
|
||||
}
|
||||
.el-tree-node__content {
|
||||
padding-right: 16px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user