refactor(TreeSelect): use Sidebar as nav (#4383)

This commit is contained in:
neverland
2019-09-06 09:51:20 +08:00
committed by GitHub
parent ebf5a18eb9
commit 5b0feb58e8
5 changed files with 66 additions and 61 deletions
+1 -14
View File
@@ -13,20 +13,7 @@
-webkit-overflow-scrolling: touch;
&-item {
position: relative;
padding: @tree-select-nav-item-padding;
line-height: @tree-select-item-height;
border-left: 3px solid transparent;
&--active {
font-weight: bold;
background-color: @tree-select-nav-item-active-background-color;
border-color: @tree-select-nav-item-active-border-color;
}
&--disabled {
color: @tree-select-nav-item-disabled-color;
}
}
}
@@ -39,7 +26,7 @@
&__item {
position: relative;
padding-left: @padding-md;
padding: 0 32px 0 @padding-md;
font-weight: bold;
line-height: @tree-select-item-height;