Skip to content

Commit

Permalink
fix: set the tree-switcher-leaf-line position (ant-design#32075)
Browse files Browse the repository at this point in the history
  • Loading branch information
btea authored and Rain120 committed Sep 14, 2021
1 parent b41c526 commit aa9de96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/tree/style/mixin.less
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,20 @@
display: inline-block;
width: 100%;
height: 100%;
// https://github.com/ant-design/ant-design/issues/31884
&::before {
position: absolute;
top: 0;
right: 12px;
bottom: -@tree-node-padding;
margin-left: -1px;
border-left: 1px solid @normal-color;
border-right: 1px solid @normal-color;
content: ' ';
}
&::after {
position: absolute;
width: @tree-title-height - 14px;
height: @tree-title-height - 10px;
margin-left: -1px;
border-bottom: 1px solid @normal-color;
content: ' ';
}
Expand Down

0 comments on commit aa9de96

Please sign in to comment.