Skip to content

Commit 6d628fe

Browse files
authored
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
1 parent c6a5839 commit 6d628fe

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/theme/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opentiny/vue-theme",
3-
"version": "3.18.0",
3+
"version": "3.18.1",
44
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
55
"author": "OpenTiny Team",
66
"license": "MIT",
@@ -87,4 +87,4 @@
8787
]
8888
}
8989
}
90-
}
90+
}

packages/theme/src/tree/index.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,13 +214,12 @@
214214
.@{tree-node-prefix-cls}__children {
215215
overflow: visible !important;
216216
transition: 0.3s opacity ease-in-out;
217+
position: relative;
217218

218219
&
219220
.@{tree-node-prefix-cls}__wrapper:not(:last-child)
220221
> .@{tree-node-prefix-cls}
221222
> .@{tree-node-prefix-cls}__children {
222-
position: relative;
223-
224223
.@{tree-node-prefix-cls}__children-indent {
225224
height: 100%;
226225
position: absolute;

0 commit comments

Comments
 (0)