fix(tree): [tree] fix tree showLine props's bug , sometimes the line is too… (#2015)

* fix(tree): fix tree showLine props's bug ,  sometimes the line is too long

* fix(theme): update version
This commit is contained in:
申君健 2024-09-02 10:58:10 +08:00 committed by GitHub
parent c6a58394ea
commit 6d628fef19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@opentiny/vue-theme",
"version": "3.18.0",
"version": "3.18.1",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
"author": "OpenTiny Team",
"license": "MIT",
@ -87,4 +87,4 @@
]
}
}
}
}

View File

@ -214,13 +214,12 @@
.@{tree-node-prefix-cls}__children {
overflow: visible !important;
transition: 0.3s opacity ease-in-out;
position: relative;
&
.@{tree-node-prefix-cls}__wrapper:not(:last-child)
> .@{tree-node-prefix-cls}
> .@{tree-node-prefix-cls}__children {
position: relative;
.@{tree-node-prefix-cls}__children-indent {
height: 100%;
position: absolute;