Skip to content

Commit

Permalink
fix(tree-menu): [tree-menu] fix tree-menu bug (#2101)
Browse files Browse the repository at this point in the history
* feat(tree-menu): [tree-menu] updata tree-menu xdesign

* feat(tree-menu): [tree-menu] updata tree-menu xdesign

* fix(tree-menu): [tree-menu] fix tree-menu bug
  • Loading branch information
wuyiping0628 authored Sep 11, 2024
1 parent efb5292 commit 200046d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions packages/theme/src/tree-menu/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -127,22 +127,11 @@
.@{input-prefix-cls} {
.@{input-prefix-cls}__inner {
border: none;
border-bottom: 1px solid var(--ti-tree-menu-border-color);
}
}

.@{tree-prefix-cls} {
padding-top: var(--ti-tree-menu-padding-top);
position: relative;

&:after {
content: '';
position: absolute;
left: 20px;
right: 20px;
top: 0;
bottom: 0;
border-top: 1px solid var(--ti-tree-menu-border-top-color);
}
.@{tree-node-prefix-cls} {
&.is-disabled {
& > .@{tree-node-prefix-cls}__content a {
Expand Down

0 comments on commit 200046d

Please sign in to comment.