docs(components): [tree] update example style (#19945)

This commit is contained in:
sea
2025-02-24 14:48:54 +08:00
committed by GitHub
parent 84f94507e3
commit ef8a6bb7df
3 changed files with 11 additions and 8 deletions

View File

@ -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>